mac80211: move AP teardown code to correct place
authorJohannes Berg <johannes.berg@intel.com>
Thu, 25 Oct 2012 17:02:42 +0000 (19:02 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Oct 2012 10:57:01 +0000 (12:57 +0200)
commit7b20b8e8d70a0f4f18c254b42e5b157f93731e9f
tree1f719c47aeba588532580ce1663e1cf9c1f0c336
parent1df332e82d0facc6b236957f1a5691b550b4e1f1
mac80211: move AP teardown code to correct place

Since cfg80211 will now call the explicit stop_ap
operation when an AP interface goes down, move all
teardown code there and remove it from interface
handling. The only thing that needs to stay is the
code to dev_close() all dependent VLANs.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/iface.c