]> err.no Git - linux-2.6/commitdiff
[PATCH] mac80211: remove PRISM2_PARAM_DROP_UNENCRYPTED ioctl
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 10 Jul 2007 17:32:09 +0000 (19:32 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 12 Jul 2007 20:07:25 +0000 (16:07 -0400)
Interestingly, wpa_supplicant doesn't use it, but uses the
currently unsupported IW_AUTH_DROP_UNENCRYPTED. So I guess
it doesn't matter anyway.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Jiri Benc <jbenc@suse.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/hostapd_ioctl.h
net/mac80211/ieee80211_ioctl.c

index 230eb4400ec6bd5f4be060160e80535ab7340d45..95ca1f983a72f4296b9b11cbd571e61682f41faf 100644 (file)
@@ -29,7 +29,6 @@ enum {
 
        /* Instant802 additions */
        PRISM2_PARAM_CTS_PROTECT_ERP_FRAMES = 1001,
-       PRISM2_PARAM_DROP_UNENCRYPTED = 1002,
        PRISM2_PARAM_PREAMBLE = 1003,
        PRISM2_PARAM_SHORT_SLOT_TIME = 1006,
        PRISM2_PARAM_NEXT_MODE = 1008,
index ab09e9a90f43bdc76ff81c89b88122e40b2b5c2a..f465d0a1c1539d7493835e21eb3f773f46eea64d 100644 (file)
@@ -1201,10 +1201,6 @@ static int ieee80211_ioctl_prism2_param(struct net_device *dev,
                local->cts_protect_erp_frames = value;
                break;
 
-       case PRISM2_PARAM_DROP_UNENCRYPTED:
-               sdata->drop_unencrypted = value;
-               break;
-
        case PRISM2_PARAM_PREAMBLE:
                local->short_preamble = value;
                break;
@@ -1332,10 +1328,6 @@ static int ieee80211_ioctl_get_prism2_param(struct net_device *dev,
                *param = local->cts_protect_erp_frames;
                break;
 
-       case PRISM2_PARAM_DROP_UNENCRYPTED:
-               *param = sdata->drop_unencrypted;
-               break;
-
        case PRISM2_PARAM_PREAMBLE:
                *param = local->short_preamble;
                break;