mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
nl80211: Add a missing key_flag for WEP shared key authentication
Signed-off-by: Alexander Wetzel <alexander@wetzel-home.de>
This commit is contained in:
parent
82eaa3e688
commit
5eb1632569
@ -3556,6 +3556,9 @@ retry:
|
||||
p.set_tx = i == params->wep_tx_keyidx;
|
||||
p.key = params->wep_key[i];
|
||||
p.key_len = params->wep_key_len[i];
|
||||
p.key_flag = i == params->wep_tx_keyidx ?
|
||||
KEY_FLAG_GROUP_RX_TX_DEFAULT :
|
||||
KEY_FLAG_GROUP_RX_TX;
|
||||
wpa_driver_nl80211_set_key(bss, &p);
|
||||
if (params->wep_tx_keyidx != i)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user