aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/mac80211/hostapd_ioctl.h1
-rw-r--r--net/mac80211/ieee80211_ioctl.c8
2 files changed, 0 insertions, 9 deletions
diff --git a/net/mac80211/hostapd_ioctl.h b/net/mac80211/hostapd_ioctl.h
index 230eb4400ec6..95ca1f983a72 100644
--- a/net/mac80211/hostapd_ioctl.h
+++ b/net/mac80211/hostapd_ioctl.h
@@ -29,7 +29,6 @@ enum {
29 29
30 /* Instant802 additions */ 30 /* Instant802 additions */
31 PRISM2_PARAM_CTS_PROTECT_ERP_FRAMES = 1001, 31 PRISM2_PARAM_CTS_PROTECT_ERP_FRAMES = 1001,
32 PRISM2_PARAM_DROP_UNENCRYPTED = 1002,
33 PRISM2_PARAM_PREAMBLE = 1003, 32 PRISM2_PARAM_PREAMBLE = 1003,
34 PRISM2_PARAM_SHORT_SLOT_TIME = 1006, 33 PRISM2_PARAM_SHORT_SLOT_TIME = 1006,
35 PRISM2_PARAM_NEXT_MODE = 1008, 34 PRISM2_PARAM_NEXT_MODE = 1008,
diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_ioctl.c
index ab09e9a90f43..f465d0a1c153 100644
--- a/net/mac80211/ieee80211_ioctl.c
+++ b/net/mac80211/ieee80211_ioctl.c
@@ -1201,10 +1201,6 @@ static int ieee80211_ioctl_prism2_param(struct net_device *dev,
1201 local->cts_protect_erp_frames = value; 1201 local->cts_protect_erp_frames = value;
1202 break; 1202 break;
1203 1203
1204 case PRISM2_PARAM_DROP_UNENCRYPTED:
1205 sdata->drop_unencrypted = value;
1206 break;
1207
1208 case PRISM2_PARAM_PREAMBLE: 1204 case PRISM2_PARAM_PREAMBLE:
1209 local->short_preamble = value; 1205 local->short_preamble = value;
1210 break; 1206 break;
@@ -1332,10 +1328,6 @@ static int ieee80211_ioctl_get_prism2_param(struct net_device *dev,
1332 *param = local->cts_protect_erp_frames; 1328 *param = local->cts_protect_erp_frames;
1333 break; 1329 break;
1334 1330
1335 case PRISM2_PARAM_DROP_UNENCRYPTED:
1336 *param = sdata->drop_unencrypted;
1337 break;
1338
1339 case PRISM2_PARAM_PREAMBLE: 1331 case PRISM2_PARAM_PREAMBLE:
1340 *param = local->short_preamble; 1332 *param = local->short_preamble;
1341 break; 1333 break;