mac80211: refactor set_channel_type
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 26 Jun 2012 12:37:21 +0000 (14:37 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 6 Sep 2012 15:55:00 +0000 (17:55 +0200)
commit23a85b45cfe954ba418f68352351f21cc28decfd
tree2095883f5d76536c96f45785758042670e7003fb
parent964b19f9770cd8d299fa99c84b0ff2e90df9c523
mac80211: refactor set_channel_type

Split functionality for further reuse.

Will prevent code duplication when channel context
channel_type merging is introduced.

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