diff options
author | Assaf Krauss <assaf.krauss@intel.com> | 2012-07-18 07:58:21 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-23 09:27:25 -0400 |
commit | 86052a77067df53ad48800e74984f84806baddbd (patch) | |
tree | 86dcfd0cf1b7739ac227391d55680368a12bcafa /drivers | |
parent | 6c3fd3f00c67105b49d57525614fcfa6816d604d (diff) |
iwlwifi: remove MFP Kconfig option
Remove the Kconfig option CONFIG_IWLWIFI_EXPERIMENTAL_MFP,
if the firmware doesn't support MFP then the user shouldn't
have the option to enable it as it won't work correctly.
Signed-off-by: Assaf Krauss <assaf.krauss@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/Kconfig | 9 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/mac80211.c | 2 |
2 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/wireless/iwlwifi/Kconfig b/drivers/net/wireless/iwlwifi/Kconfig index 727fbb5db9da..5cf43236421e 100644 --- a/drivers/net/wireless/iwlwifi/Kconfig +++ b/drivers/net/wireless/iwlwifi/Kconfig | |||
@@ -133,12 +133,3 @@ config IWLWIFI_P2P | |||
133 | support when it is loaded. | 133 | support when it is loaded. |
134 | 134 | ||
135 | Say Y only if you want to experiment with P2P. | 135 | Say Y only if you want to experiment with P2P. |
136 | |||
137 | config IWLWIFI_EXPERIMENTAL_MFP | ||
138 | bool "support MFP (802.11w) even if uCode doesn't advertise" | ||
139 | depends on IWLWIFI | ||
140 | help | ||
141 | This option enables experimental MFP (802.11W) support | ||
142 | even if the microcode doesn't advertise it. | ||
143 | |||
144 | Say Y only if you want to experiment with MFP. | ||
diff --git a/drivers/net/wireless/iwlwifi/dvm/mac80211.c b/drivers/net/wireless/iwlwifi/dvm/mac80211.c index ff8162d4c454..46b0d1c46529 100644 --- a/drivers/net/wireless/iwlwifi/dvm/mac80211.c +++ b/drivers/net/wireless/iwlwifi/dvm/mac80211.c | |||
@@ -168,10 +168,8 @@ int iwlagn_mac_setup_register(struct iwl_priv *priv, | |||
168 | hw->flags |= IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS | | 168 | hw->flags |= IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS | |
169 | IEEE80211_HW_SUPPORTS_STATIC_SMPS; | 169 | IEEE80211_HW_SUPPORTS_STATIC_SMPS; |
170 | 170 | ||
171 | #ifndef CONFIG_IWLWIFI_EXPERIMENTAL_MFP | ||
172 | /* enable 11w if the uCode advertise */ | 171 | /* enable 11w if the uCode advertise */ |
173 | if (capa->flags & IWL_UCODE_TLV_FLAGS_MFP) | 172 | if (capa->flags & IWL_UCODE_TLV_FLAGS_MFP) |
174 | #endif /* !CONFIG_IWLWIFI_EXPERIMENTAL_MFP */ | ||
175 | hw->flags |= IEEE80211_HW_MFP_CAPABLE; | 173 | hw->flags |= IEEE80211_HW_MFP_CAPABLE; |
176 | 174 | ||
177 | hw->sta_data_size = sizeof(struct iwl_station_priv); | 175 | hw->sta_data_size = sizeof(struct iwl_station_priv); |