]> git.karo-electronics.de Git - linux-beck.git/commit
cfg80211/mac80211: move more combination checks to mac80211
authorLuciano Coelho <luciano.coelho@intel.com>
Thu, 27 Feb 2014 09:07:21 +0000 (11:07 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 9 Apr 2014 08:55:47 +0000 (10:55 +0200)
commitb6a550156bc08a472c9d2515631649e229fcfcef
treee47650bdbadff71e05f76c7b8e3a490347efffcd
parent71965c1d04b2b48ab7c56395bd1f996a56aaa592
cfg80211/mac80211: move more combination checks to mac80211

Get rid of the cfg80211_can_add_interface() and
cfg80211_can_change_interface() functions by moving that functionality
to mac80211.  With this patch all interface combination checks are now
out of cfg80211 (except for the channel switch case which will be
addressed in a future commit).

Additionally, modify the ieee80211_check_combinations() function so
that an undefined chandef can be passed, in order to use it before a
channel is defined.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/iface.c
net/mac80211/util.c
net/wireless/core.c
net/wireless/core.h
net/wireless/nl80211.c
net/wireless/util.c