mac80211: use chanctx reservation for STA CSA
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 25 Jun 2014 10:35:09 +0000 (12:35 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 25 Jun 2014 16:06:20 +0000 (18:06 +0200)
commit4c3ebc56d7561526524ec62c61aa3e2040b71f6e
tree9fe45d875f637b6ba0a93829e6ffa492cba2a35d
parent03078de4f928ffcbe629a914dea8bdf66a9d6a48
mac80211: use chanctx reservation for STA CSA

Channel switch finalization is now 2-step. First
step is when driver calls chswitch_done(), the
other is when reservation is actually finalized
(which be defered for in-place reservation).

It is now safe to call ieee80211_chswitch_done()
more than once.

Also remove the ieee80211_vif_change_channel()
because it is no longer used.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c