iwlwifi: use antenna A only under high BT load
authorJohannes Berg <johannes.berg@intel.com>
Mon, 23 Aug 2010 14:57:03 +0000 (07:57 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 25 Aug 2010 18:33:23 +0000 (14:33 -0400)
commitbd6e2d579949aede258c673caf4b1eb39b95e172
treeb655d6c4b25b92e7847ae091b721da3943d1eaca
parent74e5c41bafb07f73d8445dcf5a6a968a717d3daa
iwlwifi: use antenna A only under high BT load

When bluetooth indicated high load, we should use
only antenna A in 2.4 GHz for management frames.
Add this condition to iwl_toggle_tx_ant() to make
sure it'll always be met. Note that scanning has
a separate way of forcing the antenna, because we
should scan on antenna A only regardless of BT
traffic load.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c