]> 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)
commitf36c694261a2a5bdc778f1841be8d0205949f7cc
treed53a722723074dfd63fde2e2cfb8b43400a3776e
parent88316f93d2429953904b62852596edb4dd38c2c8
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