]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix unicast argument for set_wep_key() from EAPOL supplicant
authorAlexander Wetzel <alexander@wetzel-home.de>
Wed, 4 Mar 2020 17:16:49 +0000 (18:16 +0100)
committerJouni Malinen <j@w1.fi>
Wed, 4 Mar 2020 21:59:49 +0000 (23:59 +0200)
commitfa1a6aff223aebf8c74d34e32e1bb3e42b28aeab
tree66e0b445222832663f2031ddf59b92577899f2cf
parent72fd30c4b942dd47c4861f903e8deabacc3d49ca
Fix unicast argument for set_wep_key() from EAPOL supplicant

The unicast parameter in set_wep_key() is only expected to be set to 0
or 1. Without this patch we set unicast to 0x80 instead of 1. Since
unicast is used as boolean that is working fine but violates the
documented API.

Signed-off-by: Alexander Wetzel <alexander@wetzel-home.de>
src/eapol_supp/eapol_supp_sm.c