提交 45c3d550 编写于 作者: Z Zefir Kurtisi 提交者: Kalle Valo

ath9k: don't trigger spectral scan when not enabled

Doing so enables the FFT generation without prior
configuration, leading to an IRQ storm caused by
invalid (or at least unwanted) PHY errors.
Signed-off-by: NZefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 523f6701
...@@ -742,6 +742,9 @@ void ath9k_cmn_spectral_scan_trigger(struct ath_common *common, ...@@ -742,6 +742,9 @@ void ath9k_cmn_spectral_scan_trigger(struct ath_common *common,
return; return;
} }
if (!spec_priv->spec_config.enabled)
return;
ath_ps_ops(common)->wakeup(common); ath_ps_ops(common)->wakeup(common);
rxfilter = ath9k_hw_getrxfilter(ah); rxfilter = ath9k_hw_getrxfilter(ah);
ath9k_hw_setrxfilter(ah, rxfilter | ath9k_hw_setrxfilter(ah, rxfilter |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册