aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl3945-base.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-11-18 18:56:28 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-19 11:08:50 -0500
commit5be83de54c16944dea9c16c6a5a53c1fa75ed304 (patch)
treedd251d9331a07ec73c7a4992c79ce30f0553db40 /drivers/net/wireless/iwlwifi/iwl3945-base.c
parent9bd568a50c446433038dec2a5186c5c57c3dbd23 (diff)
cfg80211: convert bools into flags
We've accumulated a number of options for wiphys which make more sense as flags as we keep adding more. Convert the existing ones. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c6
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 */