diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 31f3c42b835c..5b7e80e5bab4 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -3904,10 +3904,8 @@ static int iwl3945_setup_mac(struct iwl_priv *priv) | |||
3904 | BIT(NL80211_IFTYPE_STATION) | | 3904 | BIT(NL80211_IFTYPE_STATION) | |
3905 | BIT(NL80211_IFTYPE_ADHOC); | 3905 | BIT(NL80211_IFTYPE_ADHOC); |
3906 | 3906 | ||
3907 | hw->wiphy->custom_regulatory = true; | 3907 | hw->wiphy->flags |= WIPHY_FLAG_STRICT_REGULATORY | |
3908 | 3908 | WIPHY_FLAG_DISABLE_BEACON_HINTS; | |
3909 | /* Firmware does not support this */ | ||
3910 | hw->wiphy->disable_beacon_hints = true; | ||
3911 | 3909 | ||
3912 | hw->wiphy->max_scan_ssids = PROBE_OPTION_MAX_3945; | 3910 | hw->wiphy->max_scan_ssids = PROBE_OPTION_MAX_3945; |
3913 | /* we create the 802.11 header and a zero-length SSID element */ | 3911 | /* we create the 802.11 header and a zero-length SSID element */ |