ath9k: Fix chainmask handling bug
authorSujith <Sujith.Manoharan@atheros.com>
Wed, 7 Jan 2009 08:55:29 +0000 (14:25 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jan 2009 19:24:51 +0000 (14:24 -0500)
commit86060f0d691f5ee1b4ef4efe770b683e54ac438d
tree2301971e9769ee2cd1d4b8de8909587a6eb585ca
parent20953ad68ee522f6420b63c200ac9b23f96d937a
ath9k: Fix chainmask handling bug

The chainmasks have to be updated before setting the channel,
since the HW reset routine uses them to set the appropriate registers.

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