From bd896433af9201ad9a7b648363b242586a8f92fe Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 16 Dec 2012 12:42:26 +0200 Subject: [PATCH] nl80211: Register to process WNM-Sleep Mode Response frames Signed-hostap: Jouni Malinen --- src/drivers/driver_nl80211.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 297f67767..b7244c29d 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -3266,6 +3266,9 @@ static int nl80211_mgmt_subscribe_non_ap(struct i802_bss *bss) /* WNM - BSS Transition Management Request */ if (nl80211_register_action_frame(bss, (u8 *) "\x0a\x07", 2) < 0) return -1; + /* WNM-Sleep Mode Response */ + if (nl80211_register_action_frame(bss, (u8 *) "\x0a\x11", 2) < 0) + return -1; return 0; }