ath9k: fix 5/10MHz channel width initialization on ar9003
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Thu, 12 Dec 2013 17:10:16 +0000 (18:10 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Dec 2013 20:23:04 +0000 (15:23 -0500)
commit935d00ccf7321d704a1bf8e982dd6934165c1327
tree808d61a905574e5867a69844b5d22c846bc77ec6
parent1e51acaa02563ca96c0f3fa9827174cefde6093c
ath9k: fix 5/10MHz channel width initialization on ar9003

Move ath9k_hw_set_rfmode() after ath9k_hw_process_ini() in order to avoid
AR_PHY_MODE register is overwritten with default values by
ar9003_hw_process_ini()

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c