From 5113fc8d80aa7e2c71e1aaaabd3bd580ee18e10c Mon Sep 17 00:00:00 2001 From: proski Date: Wed, 27 Aug 2008 17:18:39 +0000 Subject: [PATCH] Remove unused function ieee80211_dfs_test_return() git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3849 0192ed92-7a03-0410-a25b-9323aeb14dbd --- net80211/ieee80211.c | 14 -------------- net80211/ieee80211_var.h | 1 - 2 files changed, 15 deletions(-) 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 *);