ath9k: fix radar parameters initialization
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Thu, 11 Sep 2014 21:50:54 +0000 (23:50 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Sep 2014 19:00:50 +0000 (15:00 -0400)
commit4307b0fe22f4641530bc24066dc432e3f1125459
tree2570b87de75360673763ae7ef957116884fb2ddd
parent62c5afb8e388eae4e54f1ad415c1a1bc745c8b08
ath9k: fix radar parameters initialization

Move ath9k_hw_set_radar_params() in ath9k_hw_reset() in order to avoid
AR_PHY_RADAR registers are overwritten after hw reset

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