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)
commit1b083ea4c072e49a6b0d4a1a6d5d9a6e4b3606b1
tree4ff5cd338ed3c191e3ebfedb7be0a234e630c17b
parente3e1a0bcb3f192fe2f95f86a74bd4e7967341e74
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 <dan.carpenter@oracle.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c
This page took 0.0241980000000001 seconds and 5 git commands to generate.