mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-29 08:14:02 -05:00
nl80211: Register to process WNM-Sleep Mode Response frames
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
44f6d554ee
commit
bd896433af
@ -3266,6 +3266,9 @@ static int nl80211_mgmt_subscribe_non_ap(struct i802_bss *bss)
|
|||||||
/* WNM - BSS Transition Management Request */
|
/* WNM - BSS Transition Management Request */
|
||||||
if (nl80211_register_action_frame(bss, (u8 *) "\x0a\x07", 2) < 0)
|
if (nl80211_register_action_frame(bss, (u8 *) "\x0a\x07", 2) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
/* WNM-Sleep Mode Response */
|
||||||
|
if (nl80211_register_action_frame(bss, (u8 *) "\x0a\x11", 2) < 0)
|
||||||
|
return -1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user