diff options
author | Luciano Coelho <luciano.coelho@intel.com> | 2013-12-13 21:13:50 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-12-16 15:07:46 +0100 |
commit | 82a8e17d4a4faae2366aca61c617af87bcc822c1 (patch) | |
tree | 3232357ffa4ea547480ff1e10403439a0240f9b5 /net/mac80211/ieee80211_i.h | |
parent | 43552be1da3c420931c89727b6115b7fa35368f8 (diff) |
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>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index adbff719638c..fb5dbcb79a12 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1450,6 +1450,8 @@ void ieee80211_handle_roc_started(struct ieee80211_roc_work *roc); /* channel switch handling */ void ieee80211_csa_finalize_work(struct work_struct *work); +int ieee80211_channel_switch(struct wiphy *wiphy, struct net_device *dev, + struct cfg80211_csa_settings *params); /* interface handling */ int ieee80211_iface_init(void); |