iwlwifi: do not set dual_stream_ant_msk for 3 streams
authorDaniel C Halperin <daniel.c.halperin@intel.com>
Wed, 8 Apr 2009 18:39:28 +0000 (11:39 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:43 +0000 (16:54 -0400)
commitddfcf999274838a8dfb0ccf8e69fc1e50eea3341
tree54fa0de3da52e7f97c9d8dd50c580a2e321d2240
parent12b9681721adb34b7ec42aa973ab96692998153d
iwlwifi: do not set dual_stream_ant_msk for 3 streams

This patch fixes a bug introduced by commit "iwlwifi: adding MIMO3 support
in rate scaling". We should not set the dual_stream_ant_msk (for 2x2 MIMO)
when using a 3x3 rate, this will cause a SYSASSERT in uCode.

Note: there is no triple_stream_ant_msk, because all three antennas are used.

Signed-off-by: Daniel C Halperin <daniel.c.halperin@intel.com>
Acked-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