]> err.no Git - linux-2.6/commit
iwlwifi: fix rx_chain computation
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 3 Sep 2008 03:18:47 +0000 (11:18 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Sep 2008 19:10:37 +0000 (15:10 -0400)
commit28a6b07a14bd5e63af2c0304306f35c5b963910b
tree56e5a5f132779b694bb86fcb2616ecd56c4d6461
parent4834c73f055b92f719a23e29e275559fa8c29513
iwlwifi: fix rx_chain computation

This patch fixes rx_chain computation. The code that adjusts number of
rx chains to number supported by HW was missing. Miss configuration
causes firmware error.  Note: iwlwifi supports HW with up to 3 RX
chains (2x2, 2x3, 1x2, and 3x3 MIMO). This patch also simplifies the
whole RX chain computation.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Mohamed Abbas <mohamed.abbas@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c