From: Johannes Berg Date: Tue, 3 Jul 2012 11:14:49 +0000 (+0200) Subject: mac80211_hwsim: fix NUM_BANDS usage X-Git-Tag: v3.6-rc1~125^2~57^2~208^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b083ea4c072e49a6b0d4a1a6d5d9a6e4b3606b1;p=pandora-kernel.git mac80211_hwsim: fix NUM_BANDS usage Due to the recent change of NUM_BANDS from 2 to 3 hwsim broke. Fix the code by using the right constant but don't support bands other than 2.4 and 5 GHz. Reported-by: Dan Carpenter Signed-off-by: Johannes Berg --- Reading git-diff-tree failed