]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: return when short FFT frame was handled
authorSimon Wunderlich <sw@simonwunderlich.de>
Mon, 1 Oct 2018 14:26:46 +0000 (17:26 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 2 Oct 2018 04:43:44 +0000 (07:43 +0300)
commit821c8badfb4b9d38b363e5e8378eccff27be4330
tree4481bbc75a7abcab4a19c75d64a382fa45d8bb72
parent7246bfd1a695204076a5f8b612d8a60acaeac56c
ath9k: return when short FFT frame was handled

With the loop break like this, there are false "FFT report truncated"
messages because the iterator is not advanced as the check expects.

Instead, just return, for a single frame there is nothing left to be
done anyways.

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