]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: fix 11n_disable EEPROM refactoring regression
authorJohannes Berg <johannes.berg@intel.com>
Tue, 19 Jun 2012 06:32:49 +0000 (08:32 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 Jun 2012 06:41:26 +0000 (08:41 +0200)
commit817badd58c849929e70144104ff1d06a9394efc5
tree91eacee1272a86b6e28bb5a65479badbf846b890
parentf5f3b4035743c1593c8517776289edc56ac81512
iwlwifi: fix 11n_disable EEPROM refactoring regression

My commit fa0ccca8b1a ("iwlwifi: refactor EEPROM reading/parsing")
broke the 11n_disable module parameter's BIT(0) to disable all HT
operation (using the other bits to disable aggregation only was
unaffected). Restore this by overriding the SKU when parsing the
EEPROM if the module parameter is set.

Reported-by: Matthijs Kooijman <matthijs@stdin.nl>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c