]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Skip FFT reports if we are out of output buffers
authorNick Kossifidis <mickflemm@gmail.com>
Wed, 29 Apr 2015 23:51:19 +0000 (23:51 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 9 May 2015 13:46:16 +0000 (16:46 +0300)
commitc0a3b3b78996ef9532f8802aaefdcdc83ee61d2b
treeec659cf54345ddb54be064f280c6626bd95e2d30
parentc9110682f93e5177dacb84a7c2588670019fc999
ath9k: Skip FFT reports if we are out of output buffers

There is no reason to keep processing FFT reports if there is no
space left on the relayfs buffers for the results. This saves
lots of CPU cycles, especially on normal (non-short) reports.

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