iwlwifi: find the correct first antenna
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 11 Sep 2009 17:38:18 +0000 (10:38 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 23 Sep 2009 15:35:40 +0000 (11:35 -0400)
commit4a86eaa46dbaf26498bcf0bb3535d4fd36a32858
tree0e9fd6179e6349525b63f48d55ed30d891054511
parentde0bd50845eb5935ce3d503c5d2f565d6cb9ece1
iwlwifi: find the correct first antenna

We can not assume antenna "A" is the first valid anttena for
all the NIC. Need to make sure choice the correct antenna based on
h/w configuration for transmit to avoid sending frame on invalid
antenna

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c