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>
Mon, 14 Sep 2009 18:36:05 +0000 (14:36 -0400)
commit2ff6578ba2ac38c0082c1e56babd5f575029faf8
treeacd4170ecf118522523726160a85d3cc972923fb
parent0aae511c0bf9e49165cfa04c51f6a3bf179aef09
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