cfg80211/mac80211: move interface counting for combination check to mac80211
authorLuciano Coelho <luciano.coelho@intel.com>
Thu, 13 Feb 2014 09:31:59 +0000 (11:31 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 9 Apr 2014 08:55:43 +0000 (10:55 +0200)
commit73de86a38962b18edad3205c2358599dd9c83e9f
treecaf27b6e5000427c940a07d325d1210417ba87ad
parent2beb6dab2d799ee8934cb0801845e551ad8c70f2
cfg80211/mac80211: move interface counting for combination check to mac80211

Move the counting part of the interface combination check from
cfg80211 to mac80211.

This is needed to simplify locking when the driver has to perform a
combination check by itself (eg. with channel-switch).

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/mac80211/cfg.c
net/mac80211/chan.c
net/mac80211/ieee80211_i.h
net/mac80211/util.c
net/wireless/core.h
net/wireless/ibss.c
net/wireless/mesh.c
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/util.c