ath9k: ar5008_hw_cmn_spur_mitigate: add missing mask_m & mask_p initialisation
authorOleksij Rempel <linux@rempel-privat.de>
Tue, 12 Apr 2016 17:37:44 +0000 (19:37 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 15 Apr 2016 18:03:54 +0000 (21:03 +0300)
commitde478a61389cacafe94dc8b035081b681b878f9d
tree581739e2ac7323a08e70ed2789222ab11c5c264b
parent15da5d11040c636cddf85bd93fd4abe85f02fc9f
ath9k: ar5008_hw_cmn_spur_mitigate: add missing mask_m & mask_p initialisation

by moving common code to ar5008_hw_cmn_spur_mitigate i forgot to move
mask_m & mask_p initialisation. This coused a performance regression
on ar9281.

Fixes: f911085ffa88 ("ath9k: split ar5008_hw_spur_mitigate and reuse common code in ar9002_hw_spur_mitigate.")
Reported-by: Gustav Frederiksen <lkml2017@openmailbox.org>
Tested-by: Gustav Frederiksen <lkml2017@openmailbox.org>
Cc: <stable@vger.kernel.org> # 4.2+
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/ar5008_phy.c
drivers/net/wireless/ath/ath9k/ar9002_phy.c