ath9k_hw: set spectral scan enable bit on trigger for AR9003+
AR9002 code and the QCA AR9003+ reference code do the same. Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
committed by
Kalle Valo
parent
bfc55fe659
commit
a2a49e86b3
@@ -1800,6 +1800,8 @@ static void ar9003_hw_spectral_scan_config(struct ath_hw *ah,
|
|||||||
|
|
||||||
static void ar9003_hw_spectral_scan_trigger(struct ath_hw *ah)
|
static void ar9003_hw_spectral_scan_trigger(struct ath_hw *ah)
|
||||||
{
|
{
|
||||||
|
REG_SET_BIT(ah, AR_PHY_SPECTRAL_SCAN,
|
||||||
|
AR_PHY_SPECTRAL_SCAN_ENABLE);
|
||||||
/* Activate spectral scan */
|
/* Activate spectral scan */
|
||||||
REG_SET_BIT(ah, AR_PHY_SPECTRAL_SCAN,
|
REG_SET_BIT(ah, AR_PHY_SPECTRAL_SCAN,
|
||||||
AR_PHY_SPECTRAL_SCAN_ACTIVE);
|
AR_PHY_SPECTRAL_SCAN_ACTIVE);
|
||||||
|
|||||||
Reference in New Issue
Block a user