From: Arik Nemtsov Date: Sun, 1 Mar 2015 16:24:57 +0000 (+0200) Subject: iwlwifi: don't allow the FW to return invalid ch indices X-Git-Tag: omap-for-v4.2/o2_dc~131^2~95^2~110^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4557eaba13c2b9074c64e37bb93f77c4917a81b1;p=pandora-kernel.git iwlwifi: don't allow the FW to return invalid ch indices If the FW returns an invalid channels count in response to an MCC request, make sure we don't reference invalid indices in the channels array. Signed-off-by: Arik Nemtsov Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed