]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: avoid ANI restart if no trigger
authorMiaoqing Pan <miaoqing@codeaurora.org>
Mon, 18 Jan 2016 01:33:46 +0000 (09:33 +0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 26 Jan 2016 14:47:38 +0000 (16:47 +0200)
commite3a6077b88b3f695c2e759d45dc491263220afc8
tree5e2ab8f47fa5d2f0628347b8d8bc488131e73a17
parent2734febb1ba1c20995f29cbb4649bd74445b7d8a
ath9k: avoid ANI restart if no trigger

Fixes commit 1ecbfac8f4b5 ("ath9k_hw: improve ANI processing and rx desensitizing parameters")

Call ath9k_ani_restart() only when the phy error rate reach the
ANI immunity threshold. Sync the logic with internal code base.

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/ani.c