diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mac80211.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mac80211.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c index 01b4228fb856..39e4ffeae22f 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mac80211.c +++ b/drivers/net/wireless/iwlwifi/mvm/mac80211.c | |||
@@ -309,11 +309,8 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm) | |||
309 | BIT(NL80211_IFTYPE_P2P_CLIENT) | | 309 | BIT(NL80211_IFTYPE_P2P_CLIENT) | |
310 | BIT(NL80211_IFTYPE_AP) | | 310 | BIT(NL80211_IFTYPE_AP) | |
311 | BIT(NL80211_IFTYPE_P2P_GO) | | 311 | BIT(NL80211_IFTYPE_P2P_GO) | |
312 | BIT(NL80211_IFTYPE_P2P_DEVICE); | 312 | BIT(NL80211_IFTYPE_P2P_DEVICE) | |
313 | 313 | BIT(NL80211_IFTYPE_ADHOC); | |
314 | /* IBSS has bugs in older versions */ | ||
315 | if (IWL_UCODE_API(mvm->fw->ucode_ver) >= 8) | ||
316 | hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_ADHOC); | ||
317 | 314 | ||
318 | hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN; | 315 | hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN; |
319 | hw->wiphy->regulatory_flags |= REGULATORY_CUSTOM_REG | | 316 | hw->wiphy->regulatory_flags |= REGULATORY_CUSTOM_REG | |