zd1211rw: enable support for MFP
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Sun, 2 Sep 2012 18:10:44 +0000 (21:10 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 11 Sep 2012 19:13:50 +0000 (15:13 -0400)
zd1211rw lacks hardware encryption, so enabling 802.11w is only matter of
enabling IEEE80211_HW_MFP_CAPABLE flag.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_mac.c

index 4598801047586a562994667fd7e9fc773ded95fe..114364b5d46638f3597e66761c5caff45903cc80 100644 (file)
@@ -1401,7 +1401,8 @@ struct ieee80211_hw *zd_mac_alloc_hw(struct usb_interface *intf)
 
        hw->flags = IEEE80211_HW_RX_INCLUDES_FCS |
                    IEEE80211_HW_SIGNAL_UNSPEC |
-                   IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING;
+                   IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
+                   IEEE80211_HW_MFP_CAPABLE;
 
        hw->wiphy->interface_modes =
                BIT(NL80211_IFTYPE_MESH_POINT) |