ath9k: Enable short repeat by default on ath9k_htc
authorNick Kossifidis <mickflemm@gmail.com>
Wed, 29 Apr 2015 23:51:22 +0000 (23:51 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 9 May 2015 13:46:19 +0000 (16:46 +0300)
Normal FFT reports generate a LOT of data, to save resources
enable short repeat by default also on ath9k_htc (it's already
enabled by default on ath9k). This can always be changed from
userspace if needed.

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/htc_drv_init.c

index d7beefe60683df8bd22b134e6a4418d9f19e5bbd..746856243bff610d9e10773046b9005851214646 100644 (file)
@@ -594,7 +594,7 @@ static void ath9k_init_misc(struct ath9k_htc_priv *priv)
 
        priv->spec_priv.ah = priv->ah;
        priv->spec_priv.spec_config.enabled = 0;
-       priv->spec_priv.spec_config.short_repeat = false;
+       priv->spec_priv.spec_config.short_repeat = true;
        priv->spec_priv.spec_config.count = 8;
        priv->spec_priv.spec_config.endless = false;
        priv->spec_priv.spec_config.period = 0x12;