mac80211: split ieee80211_vif_change_channel in two
authorLuciano Coelho <luciano.coelho@intel.com>
Thu, 30 Jan 2014 20:08:16 +0000 (22:08 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 9 Apr 2014 08:55:50 +0000 (10:55 +0200)
ieee80211_vif_change_channel() locks chanctx_mtx.  When implementing
channel reservation for CS, we will need to call the function to
change channel when the lock is already held, so split the part that
requires the lock out and leave the locking in the original function.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c

Simple merge