diff options
author | Jouni Malinen <j@w1.fi> | 2009-01-08 06:32:14 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:10 -0500 |
commit | fa77533e2e1e5c7d9d80618db21266b9eac1b205 (patch) | |
tree | dccd00f2881a3b684b6d4602492d8a54a48dd2af /drivers/net/wireless/mac80211_hwsim.c | |
parent | 0ced0e176ab854df15bd307188decba9c06650e5 (diff) |
mac80211_hwsim: Report driver as MFP capable
mac80211_hwsim has no problems with MFP, so report it as MFP capable.
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index f83d69e813d3..fce49ba061d5 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -779,6 +779,8 @@ static int __init init_mac80211_hwsim(void) | |||
779 | BIT(NL80211_IFTYPE_MESH_POINT); | 779 | BIT(NL80211_IFTYPE_MESH_POINT); |
780 | hw->ampdu_queues = 1; | 780 | hw->ampdu_queues = 1; |
781 | 781 | ||
782 | hw->flags = IEEE80211_HW_MFP_CAPABLE; | ||
783 | |||
782 | /* ask mac80211 to reserve space for magic */ | 784 | /* ask mac80211 to reserve space for magic */ |
783 | hw->vif_data_size = sizeof(struct hwsim_vif_priv); | 785 | hw->vif_data_size = sizeof(struct hwsim_vif_priv); |
784 | hw->sta_data_size = sizeof(struct hwsim_sta_priv); | 786 | hw->sta_data_size = sizeof(struct hwsim_sta_priv); |