]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4830256e7239017385d55fda36b0f49be87ecf2f
tree454d4a14501be70d702a85f31457023f2b28be2b
parent9d463ca411837c025c19e29289d9d60f0c481c60
mac80211: split ieee80211_vif_change_channel in two

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