]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Register to process WNM-Sleep Mode Response frames
authorJouni Malinen <jouni@qca.qualcomm.com>
Sun, 16 Dec 2012 10:42:26 +0000 (12:42 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 16 Dec 2012 10:42:26 +0000 (12:42 +0200)
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

src/drivers/driver_nl80211.c

index 297f67767c33f2b8896bf04e73613ca89eff8d38..b7244c29dcba313c4e192f60820c440f03fbceed 100644 (file)
@@ -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;
 }