diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-05-21 14:03:01 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-06 07:21:16 -0400 |
commit | d370493f9be79530950dfab23b980ce60bc84f34 (patch) | |
tree | 4be4bec91797f5becbc516c9cfeb42111118a6f4 /drivers/net/wireless/iwlwifi/pcie/1000.c | |
parent | 2587d36b1e121b84993e66dc8624c60793e25921 (diff) |
iwlwifi: move ht40 bitmap into config
There's no need to dynamically fill the HT40
band bitmap as it's a device parameter, just
put it into the HT configuration.
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/pcie/1000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/pcie/1000.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/pcie/1000.c b/drivers/net/wireless/iwlwifi/pcie/1000.c index 0cfbf9fb74d5..174cf5e38962 100644 --- a/drivers/net/wireless/iwlwifi/pcie/1000.c +++ b/drivers/net/wireless/iwlwifi/pcie/1000.c | |||
@@ -71,6 +71,7 @@ static const struct iwl_base_params iwl1000_base_params = { | |||
71 | static const struct iwl_ht_params iwl1000_ht_params = { | 71 | static const struct iwl_ht_params iwl1000_ht_params = { |
72 | .ht_greenfield_support = true, | 72 | .ht_greenfield_support = true, |
73 | .use_rts_for_aggregation = true, /* use rts/cts protection */ | 73 | .use_rts_for_aggregation = true, /* use rts/cts protection */ |
74 | .ht40_bands = BIT(IEEE80211_BAND_2GHZ), | ||
74 | }; | 75 | }; |
75 | 76 | ||
76 | #define IWL_DEVICE_1000 \ | 77 | #define IWL_DEVICE_1000 \ |