]> git.baikalelectronics.ru Git - kernel.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)
commit73d8573f6aed606509414f5b6992ac19c8b9cc16
treee47650bdbadff71e05f76c7b8e3a490347efffcd
parent61a983f6f688de95a4cdd1759f8d39f7c1b5327a
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