ath9k_hw: Relocate Opmode initialization
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 16 Apr 2010 06:23:56 +0000 (11:53 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Apr 2010 19:47:07 +0000 (15:47 -0400)
commit6819d57f07440a8f9540967d9212a70e9c98eceb
tree4f2385496fddef6ff3855d4dbd44dfd1e6f34cef
parent20b3efd979c0d5d9fdf497a98668a806266a63e4
ath9k_hw: Relocate Opmode initialization

Programming the opmode in the HW can be done
before the assoc_id and STA_ID registers are
setup. This helps ath9k_htc when multiple register
writes are used.

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