mac80211: refactor ieee80211_ibss_process_chanswitch()
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 13 Dec 2013 19:13:50 +0000 (21:13 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 14:07:46 +0000 (15:07 +0100)
commit82a8e17d4a4faae2366aca61c617af87bcc822c1
tree3232357ffa4ea547480ff1e10403439a0240f9b5
parent43552be1da3c420931c89727b6115b7fa35368f8
mac80211: refactor ieee80211_ibss_process_chanswitch()

Refactor ieee80211_ibss_process_chanswitch() to use
ieee80211_channel_switch() and avoid code duplication.

Tested by: Simon Wunderlich <sw@simonwunderlich.de>
Acked by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h