]> 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)
commit4b51e779a84e70b5bfac664d47677208ad95a50b
tree6cf308093b7e7405d04e5e179dd61e53502f63b5
parent27cc93fbd4aed3474fae7c6a9866f8b041d118ca
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