mac80211_hwsim: fix NUM_BANDS usage
authorJohannes Berg <johannes.berg@intel.com>
Tue, 3 Jul 2012 11:14:49 +0000 (13:14 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 3 Jul 2012 11:50:32 +0000 (13:50 +0200)
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 <dan.carpenter@oracle.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found