]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iwlwifi: fix TX power antenna access
authorJohannes Berg <johannes.berg@intel.com>
Wed, 30 May 2012 08:36:12 +0000 (10:36 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Jun 2012 19:24:42 +0000 (15:24 -0400)
commita5fdde28b4f5fb756032e7ad2c6fcdcffde20958
treed380ac4b55ec06ff4762c9dda11c700c84c74ac5
parentb8bacc187aa5b59af9b9fa19b3ce4df5ad1db112
iwlwifi: fix TX power antenna access

Since my commit
  iwlwifi: use valid TX/RX antenna from hw_params
the config values are pure overrides, not the
real values for all hardware. Therefore, the
EEPROM TX power reading code checks the wrong
values, it should check the hw_params values.

Cc: stable@kernel.org [3.4]
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-eeprom.c