Browse Source

ath9k: fix spectral scan endless mode on AR9002

There was a copy+paste error in ar9002 for the endless spectral mode,
fix that.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Simon Wunderlich 12 years ago
parent
commit
aad12ede97
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/wireless/ath/ath9k/ar9002_phy.c

+ 1 - 1
drivers/net/wireless/ath/ath9k/ar9002_phy.c

@@ -581,7 +581,7 @@ void ar9002_hw_spectral_scan_config(struct ath_hw *ah,
 	 */
 	count = param->count;
 	if (param->endless)
-		count = 0;
+		count = 0x80;
 	else if (count & 0x80)
 		count = 0x7f;