diff options
author | Reinette Chatre <reinette.chatre@intel.com> | 2010-03-12 14:13:26 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-26 10:47:47 -0400 |
commit | 6f73e60d90f8b29e1707810c422826b5310ca353 (patch) | |
tree | 7bba8063a105ce23814a615ae19a5e31eb0867de /drivers/net | |
parent | 56bc455e2077fc13c6618e4938dcb8874a061557 (diff) |
iwlwifi: fix regulatory
commit f6c8f1523a2de3b84340e45913cbcee8bee74570 upstream.
Commit "cfg80211: convert bools into flags" mistakenly modified iwlwifi's
regulatory settings instead of just converting it. Fix this.
This fixes http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2172
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 1c9866daf815..5622a55a939e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -2461,7 +2461,7 @@ static int iwl_setup_mac(struct iwl_priv *priv) | |||
2461 | BIT(NL80211_IFTYPE_STATION) | | 2461 | BIT(NL80211_IFTYPE_STATION) | |
2462 | BIT(NL80211_IFTYPE_ADHOC); | 2462 | BIT(NL80211_IFTYPE_ADHOC); |
2463 | 2463 | ||
2464 | hw->wiphy->flags |= WIPHY_FLAG_STRICT_REGULATORY | | 2464 | hw->wiphy->flags |= WIPHY_FLAG_CUSTOM_REGULATORY | |
2465 | WIPHY_FLAG_DISABLE_BEACON_HINTS; | 2465 | WIPHY_FLAG_DISABLE_BEACON_HINTS; |
2466 | 2466 | ||
2467 | /* | 2467 | /* |
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index f29786521bc3..7e5d4ee674e4 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -3903,7 +3903,7 @@ static int iwl3945_setup_mac(struct iwl_priv *priv) | |||
3903 | BIT(NL80211_IFTYPE_STATION) | | 3903 | BIT(NL80211_IFTYPE_STATION) | |
3904 | BIT(NL80211_IFTYPE_ADHOC); | 3904 | BIT(NL80211_IFTYPE_ADHOC); |
3905 | 3905 | ||
3906 | hw->wiphy->flags |= WIPHY_FLAG_STRICT_REGULATORY | | 3906 | hw->wiphy->flags |= WIPHY_FLAG_CUSTOM_REGULATORY | |
3907 | WIPHY_FLAG_DISABLE_BEACON_HINTS; | 3907 | WIPHY_FLAG_DISABLE_BEACON_HINTS; |
3908 | 3908 | ||
3909 | hw->wiphy->max_scan_ssids = PROBE_OPTION_MAX_3945; | 3909 | hw->wiphy->max_scan_ssids = PROBE_OPTION_MAX_3945; |