]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
iwlwifi: take a valid antenna upon rate scale init
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 8 Oct 2008 01:37:29 +0000 (09:37 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 31 Oct 2008 23:00:03 +0000 (19:00 -0400)
commit5d664a41a0a8c612f66bcb3c2a6f395e9afa6beb
treefa256b0edb1a7d94dac56c639cce19adacf8c1c8
parentbe5d56ed885a2897ec813eab4a8055d495816e9a
iwlwifi: take a valid antenna upon rate scale init

This patch selects a valid antennae upon rate scale init. This solves a
SYSASSERT complaining that the driver is setting a non valid antenna in
the LQ CMD.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@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-5000.c
drivers/net/wireless/iwlwifi/iwl-agn-rs.h
drivers/net/wireless/iwlwifi/iwl-sta.c