iwlwifi: unify tx_chains_num setting
authorJohannes Berg <johannes.berg@intel.com>
Mon, 21 May 2012 18:18:19 +0000 (20:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jun 2012 11:21:15 +0000 (13:21 +0200)
commit2587d36b1e121b84993e66dc8624c60793e25921
treeccfdce9dcce0dd6ced9f7b5163e075014e51335d
parent1023fdc4858b6b8cb88ff28cafd425b77555be9f
iwlwifi: unify tx_chains_num setting

There's no need to copy the same code for all
devices since none of the 5000 series devices
(that don't have the RX SISO override) don't
set the rx_with_siso_diversity variable.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/devices.c
drivers/net/wireless/iwlwifi/dvm/eeprom.c