]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix reporting calculated new FFT upper max
authorSimon Wunderlich <sw@simonwunderlich.de>
Mon, 1 Oct 2018 14:26:59 +0000 (17:26 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 2 Oct 2018 04:44:18 +0000 (07:44 +0300)
commitf0b3d7a1b06c3d815ea062efa159f2393970f48e
treed53a722723074dfd63fde2e2cfb8b43400a3776e
parent2b0cd1e9f222b5780818d4960fdf1bf4d8548b72
ath9k: fix reporting calculated new FFT upper max

Since the debug print code is outside of the loop, it shouldn't use the loop
iterator anymore but instead print the found maximum index.

Cc: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/common-spectral.c