mac80211_hwsim: fix number of channels in interface combinations
authorJohannes Berg <johannes.berg@intel.com>
Fri, 7 Feb 2014 09:44:50 +0000 (10:44 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 7 Feb 2014 09:44:50 +0000 (10:44 +0100)
commitb59ec8dd4394cf11e3253e849a04734be6d3d694
treefd292a460ba79a56a47fc38a15ab174750a86230
parent4bf332c785bc14e6decb6ea4949a831e7e199b8b
mac80211_hwsim: fix number of channels in interface combinations

There's little point in setting the number of channels if the
entire combination struct is overwritten again later - that
was clearly intended the other way around, fix it.

Reported-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c