diff --git a/net80211/ieee80211.c b/net80211/ieee80211.c index 1695a04..b80e389 100644 --- a/net80211/ieee80211.c +++ b/net80211/ieee80211.c @@ -1135,20 +1135,6 @@ ieee80211_mark_dfs(struct ieee80211com *ic, struct ieee80211_channel *ichan) } EXPORT_SYMBOL(ieee80211_mark_dfs); -void -ieee80211_dfs_test_return(struct ieee80211com *ic, u_int8_t ieeeChan) -{ - struct net_device *dev = ic->ic_dev; - - /* Return to the original channel we were on before the test mute. */ - if_printf(dev, "Returning to channel %d\n", ieeeChan); - printk(KERN_DEBUG "Returning to chan %d\n", ieeeChan); - ic->ic_chanchange_chan = ieeeChan; - ic->ic_chanchange_tbtt = IEEE80211_RADAR_CHANCHANGE_TBTT_COUNT; - ic->ic_flags |= IEEE80211_F_CHANSWITCH; -} -EXPORT_SYMBOL(ieee80211_dfs_test_return); - void ieee80211_announce(struct ieee80211com *ic) { diff --git a/net80211/ieee80211_var.h b/net80211/ieee80211_var.h index 835d485..4543a7a 100644 --- a/net80211/ieee80211_var.h +++ b/net80211/ieee80211_var.h @@ -691,7 +691,6 @@ int ieee80211_vap_setup(struct ieee80211com *, struct net_device *, int ieee80211_vap_attach(struct ieee80211vap *, ifm_change_cb_t, ifm_stat_cb_t); void ieee80211_vap_detach(struct ieee80211vap *); void ieee80211_mark_dfs(struct ieee80211com *, struct ieee80211_channel *); -void ieee80211_dfs_test_return(struct ieee80211com *, u_int8_t); void ieee80211_announce(struct ieee80211com *); void ieee80211_announce_channels(struct ieee80211com *); int ieee80211_media_change(struct net_device *);