ath9k: Fix chainmask selection during scanning
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 21 Aug 2009 06:30:28 +0000 (12:00 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Aug 2009 18:40:30 +0000 (14:40 -0400)
commit3d832611d794b3d312d26a4b251ac5285206f90d
tree5fd7abcc8833518ed184fc4b8d50b21786a5bd76
parent103bf9f7d35849bce52ad412e4da5063b0716969
ath9k: Fix chainmask selection during scanning

The TX/RX chainmasks were set to 1x1 during scanning.
Configure them properly with the values retrieved from
the EEPROM.

Also, this requires scan_start/scan_end callbacks to be
locked with sc->mutex.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c