Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fda6cc7ac45f97d4d40cc42781041dec488fa78c
Commit:     fda6cc7ac45f97d4d40cc42781041dec488fa78c
Parent:     9771f740c6319e67bab44d18b9717c894a6f266d
Author:     Johannes Berg <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 10 19:32:09 2007 +0200
Committer:  John W. Linville <[EMAIL PROTECTED]>
CommitDate: Thu Jul 12 16:07:25 2007 -0400

    [PATCH] mac80211: remove PRISM2_PARAM_DROP_UNENCRYPTED ioctl
    
    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 <[EMAIL PROTECTED]>
    Signed-off-by: Jiri Benc <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 net/mac80211/hostapd_ioctl.h   |    1 -
 net/mac80211/ieee80211_ioctl.c |    8 --------
 2 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/net/mac80211/hostapd_ioctl.h b/net/mac80211/hostapd_ioctl.h
index 230eb44..95ca1f9 100644
--- a/net/mac80211/hostapd_ioctl.h
+++ b/net/mac80211/hostapd_ioctl.h
@@ -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,
diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_ioctl.c
index ab09e9a..f465d0a 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,
                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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to