iwlagn: fix needed chains calculation
authorJohannes Berg <johannes.berg@intel.com>
Wed, 10 Nov 2010 17:56:44 +0000 (09:56 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:26:51 +0000 (13:26 -0500)
commit2e1fea43aa170e18beb8378465e595e18cd08f6e
tree21c9e920df83fdc1715e5834449a0784a16f8de9
parent35a6eb36520b938742d8680fd8d821df20982ced
iwlagn: fix needed chains calculation

Garen noticed that this was wrong. Fix
the calibration -- default to multiple
chains and fall back to single where
possible.

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-agn-rxon.c