From: Nick Kossifidis Date: Wed, 29 Apr 2015 23:51:15 +0000 (+0000) Subject: ath9k: Perform integrity checks when processing FFT frames X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~230^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fa580c193490beb0fb713ecb7611bf59f00021b;p=pandora-kernel.git ath9k: Perform integrity checks when processing FFT frames a) Check that the maximum magnitude is at the specified index b) Check if the maximum magnitude index is at dc_pos and if so calculate a new one (value at dc_pos is invalid) c) Check if the specified maximum magnitude is indeed the maximum Signed-off-by: Nick Kossifidis Signed-off-by: Kalle Valo --- Reading git-diff-tree failed