diff options
author | John W. Linville <linville@tuxdriver.com> | 2012-06-20 14:40:26 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-20 14:40:26 -0400 |
commit | 324640e3594e9d824e72e864001a83d003588363 (patch) | |
tree | c061f6d49f1dafcd7083482c581f831140087bc1 /drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c | |
parent | ce77903c915ba05668ecffabd0e20bc2a61c2b3a (diff) | |
parent | 8d40f4eebf43bd73aa7c6e06665fd7a26012f9c9 (diff) |
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c b/drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c index c87a05cbec12..f10170fe8799 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c @@ -853,6 +853,9 @@ iwl_parse_eeprom_data(struct device *dev, const struct iwl_cfg *cfg, EEPROM_RADIO_CONFIG); data->sku = iwl_eeprom_query16(eeprom, eeprom_size, EEPROM_SKU_CAP); + if (iwlwifi_mod_params.disable_11n & IWL_DISABLE_HT_ALL) + data->sku &= ~EEPROM_SKU_CAP_11N_ENABLE; + data->eeprom_version = iwl_eeprom_query16(eeprom, eeprom_size, EEPROM_VERSION); |