From: Dan Carpenter Date: Fri, 29 Jul 2011 08:52:18 +0000 (+0300) Subject: cfg80211: off by one in nl80211_trigger_scan() X-Git-Tag: v3.1-rc1~24^2~10^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84404623da45aac04595a8f5760a58df0e955d87;p=pandora-kernel.git cfg80211: off by one in nl80211_trigger_scan() The test is off by one so we'd read past the end of the wiphy->bands[] array on the next line. Signed-off-by: Dan Carpenter Signed-off-by: John W. Linville --- Reading git-diff-tree failed