mac80211: split ieee80211_free_chanctx()
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 9 Apr 2014 13:29:31 +0000 (15:29 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 25 Apr 2014 15:08:30 +0000 (17:08 +0200)
commit1f0d54cdcf822894cebebaa6cdc4e838c32bfb08
treeb85f934fe7d5ced28f07e912636791066b231f34
parented68ebcaf9688a15cbd249476334d37717d49468
mac80211: split ieee80211_free_chanctx()

The function did a little too much. Split it up so
the code can be easily reused in the future.

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