]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitde3ab22f5139721fc8f5b6fbdd62127a2edabbc0
tree6cf308093b7e7405d04e5e179dd61e53502f63b5
parent60fbeaa05c4fe934c6570a12e91d30dfdd74b8ad
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