OSDN Git Service

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)
commit4fb5837ac2bd46a85620b297002c704e9958f64d
treed53a722723074dfd63fde2e2cfb8b43400a3776e
parent4e7a3fa5394e6a9e3865ef1cedaec5c0ca368dc7
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