mac80211_hwsim: register netlink even with multi-channel
authorJohannes Berg <johannes.berg@intel.com>
Tue, 7 Jan 2014 22:28:08 +0000 (23:28 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 10 Jan 2014 19:12:58 +0000 (20:12 +0100)
commitc5ac08548b53c3292aa3cbd02de6ae99ca7271e6
tree6cf308093b7e7405d04e5e179dd61e53502f63b5
parent85ca8fc74671def6041fb12c0a7d3423da56ffd3
mac80211_hwsim: register netlink even with multi-channel

Reject wmediumd registrations when any devices have multi-channel
capability, but register the generic netlink family unconditionally
to make it possible to add new commands that shouldn't depend on
the number of (default) channels.

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