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/ieee80211_ioctl.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/ieee80211_ioctl.c')
-rw-r--r-- | net/mac80211/ieee80211_ioctl.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_ioctl.c index 946aeb51a12b..2e85032808fe 100644 --- a/net/mac80211/ieee80211_ioctl.c +++ b/net/mac80211/ieee80211_ioctl.c | |||
@@ -1088,25 +1088,10 @@ static int ieee80211_ioctl_prism2_param(struct net_device *dev, | |||
1088 | local->next_mode = value; | 1088 | local->next_mode = value; |
1089 | break; | 1089 | break; |
1090 | 1090 | ||
1091 | case PRISM2_PARAM_STA_ANTENNA_SEL: | ||
1092 | local->sta_antenna_sel = value; | ||
1093 | break; | ||
1094 | |||
1095 | case PRISM2_PARAM_TX_POWER_REDUCTION: | ||
1096 | if (value < 0) | ||
1097 | ret = -EINVAL; | ||
1098 | else | ||
1099 | local->hw.conf.tx_power_reduction = value; | ||
1100 | break; | ||
1101 | |||
1102 | case PRISM2_PARAM_KEY_TX_RX_THRESHOLD: | 1091 | case PRISM2_PARAM_KEY_TX_RX_THRESHOLD: |
1103 | local->key_tx_rx_threshold = value; | 1092 | local->key_tx_rx_threshold = value; |
1104 | break; | 1093 | break; |
1105 | 1094 | ||
1106 | case PRISM2_PARAM_DEFAULT_WEP_ONLY: | ||
1107 | ret = ieee80211_ioctl_default_wep_only(local, value); | ||
1108 | break; | ||
1109 | |||
1110 | case PRISM2_PARAM_WIFI_WME_NOACK_TEST: | 1095 | case PRISM2_PARAM_WIFI_WME_NOACK_TEST: |
1111 | local->wifi_wme_noack_test = value; | 1096 | local->wifi_wme_noack_test = value; |
1112 | break; | 1097 | break; |
@@ -1187,22 +1172,10 @@ static int ieee80211_ioctl_get_prism2_param(struct net_device *dev, | |||
1187 | *param = local->next_mode; | 1172 | *param = local->next_mode; |
1188 | break; | 1173 | break; |
1189 | 1174 | ||
1190 | case PRISM2_PARAM_STA_ANTENNA_SEL: | ||
1191 | *param = local->sta_antenna_sel; | ||
1192 | break; | ||
1193 | |||
1194 | case PRISM2_PARAM_TX_POWER_REDUCTION: | ||
1195 | *param = local->hw.conf.tx_power_reduction; | ||
1196 | break; | ||
1197 | |||
1198 | case PRISM2_PARAM_KEY_TX_RX_THRESHOLD: | 1175 | case PRISM2_PARAM_KEY_TX_RX_THRESHOLD: |
1199 | *param = local->key_tx_rx_threshold; | 1176 | *param = local->key_tx_rx_threshold; |
1200 | break; | 1177 | break; |
1201 | 1178 | ||
1202 | case PRISM2_PARAM_DEFAULT_WEP_ONLY: | ||
1203 | *param = local->default_wep_only; | ||
1204 | break; | ||
1205 | |||
1206 | case PRISM2_PARAM_WIFI_WME_NOACK_TEST: | 1179 | case PRISM2_PARAM_WIFI_WME_NOACK_TEST: |
1207 | *param = local->wifi_wme_noack_test; | 1180 | *param = local->wifi_wme_noack_test; |
1208 | break; | 1181 | break; |