summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/zd1211rw
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2012-09-02 21:10:44 +0300
committerJohn W. Linville <linville@tuxdriver.com>2012-09-11 15:13:50 -0400
commit959cd68d0813b8c0fe62ae90f3d30e26c347cd5f (patch)
tree58f9165efd7d19c093c19f5915d3b30b6321e5ed /drivers/net/wireless/zd1211rw
parent03839951515b0ea2b21d649b1fe7b63f9817d0c8 (diff)
downloadblackbird-op-linux-959cd68d0813b8c0fe62ae90f3d30e26c347cd5f.tar.gz
blackbird-op-linux-959cd68d0813b8c0fe62ae90f3d30e26c347cd5f.zip
zd1211rw: enable support for MFP
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>
Diffstat (limited to 'drivers/net/wireless/zd1211rw')
-rw-r--r--drivers/net/wireless/zd1211rw/zd_mac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_mac.c b/drivers/net/wireless/zd1211rw/zd_mac.c
index 459880104758..114364b5d466 100644
--- a/drivers/net/wireless/zd1211rw/zd_mac.c
+++ b/drivers/net/wireless/zd1211rw/zd_mac.c
@@ -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) |
OpenPOWER on IntegriCloud