From: Eliad Peller Date: Sun, 11 May 2014 16:59:43 +0000 (+0300) Subject: iwlwifi: mvm: fix off-by-one in scan channels configuration X-Git-Tag: omap-for-v3.16/fixes-against-rc1~146^2~23^2^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64793110ad4d82e18d88a33307749c6562a6dd04;p=pandora-kernel.git iwlwifi: mvm: fix off-by-one in scan channels configuration tail should be equal to the last valid index, so decrease it by one. This error causes in "a gap" in some cases (as well as some possible out-of-bound write), finally resulting in ucode assertion. Signed-off-by: Eliad Peller Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed