diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-08-28 17:01:53 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:48:45 -0400 |
commit | 53cb670042999b8acb70945ce522b015dcdf7b43 (patch) | |
tree | e114ad62facc63678dab93b541804432e52a8ba0 /net/mac80211/rc80211_simple.c | |
parent | b2446b36800948586f1d1b8ef05803bba5f7489e (diff) |
[MAC80211]: remove unused ioctls (2)
The ioctls
* PRISM2_PARAM_STA_ANTENNA_SEL
* PRISM2_PARAM_TX_POWER_REDUCTION
* PRISM2_PARAM_DEFAULT_WEP_ONLY
are not used by hostapd or wpa_supplicant.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/rc80211_simple.c')
-rw-r--r-- | net/mac80211/rc80211_simple.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/mac80211/rc80211_simple.c b/net/mac80211/rc80211_simple.c index 17b9f46bbf2b..ef91ce428aca 100644 --- a/net/mac80211/rc80211_simple.c +++ b/net/mac80211/rc80211_simple.c | |||
@@ -147,14 +147,6 @@ static void rate_control_simple_tx_status(void *priv, struct net_device *dev, | |||
147 | srctrl = sta->rate_ctrl_priv; | 147 | srctrl = sta->rate_ctrl_priv; |
148 | srctrl->tx_num_xmit++; | 148 | srctrl->tx_num_xmit++; |
149 | if (status->excessive_retries) { | 149 | if (status->excessive_retries) { |
150 | sta->antenna_sel_tx = sta->antenna_sel_tx == 1 ? 2 : 1; | ||
151 | sta->antenna_sel_rx = sta->antenna_sel_rx == 1 ? 2 : 1; | ||
152 | if (local->sta_antenna_sel == STA_ANTENNA_SEL_SW_CTRL_DEBUG) { | ||
153 | printk(KERN_DEBUG "%s: " MAC_FMT " TX antenna --> %d " | ||
154 | "RX antenna --> %d (@%lu)\n", | ||
155 | dev->name, MAC_ARG(hdr->addr1), | ||
156 | sta->antenna_sel_tx, sta->antenna_sel_rx, jiffies); | ||
157 | } | ||
158 | srctrl->tx_num_failures++; | 150 | srctrl->tx_num_failures++; |
159 | sta->tx_retry_failed++; | 151 | sta->tx_retry_failed++; |
160 | sta->tx_num_consecutive_failures++; | 152 | sta->tx_num_consecutive_failures++; |