Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9771f740c6319e67bab44d18b9717c894a6f266d
Commit:     9771f740c6319e67bab44d18b9717c894a6f266d
Parent:     3ef8bed4692a0de6a47d162196c850c5dea85b70
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: kill antenna select ioctls
    
    Not used anywhere.
    
    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   |    2 --
 net/mac80211/ieee80211_ioctl.c |   20 --------------------
 2 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/net/mac80211/hostapd_ioctl.h b/net/mac80211/hostapd_ioctl.h
index 252204f..230eb44 100644
--- a/net/mac80211/hostapd_ioctl.h
+++ b/net/mac80211/hostapd_ioctl.h
@@ -26,8 +26,6 @@
  * mess shall be deleted completely. */
 enum {
        PRISM2_PARAM_IEEE_802_1X = 23,
-       PRISM2_PARAM_ANTSEL_TX = 24,
-       PRISM2_PARAM_ANTSEL_RX = 25,
 
        /* Instant802 additions */
        PRISM2_PARAM_CTS_PROTECT_ERP_FRAMES = 1001,
diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_ioctl.c
index f404f1f..ab09e9a 100644
--- a/net/mac80211/ieee80211_ioctl.c
+++ b/net/mac80211/ieee80211_ioctl.c
@@ -1197,18 +1197,6 @@ static int ieee80211_ioctl_prism2_param(struct 
net_device *dev,
                        sdata->ieee802_1x = value;
                break;
 
-       case PRISM2_PARAM_ANTSEL_TX:
-               local->hw.conf.antenna_sel_tx = value;
-               if (ieee80211_hw_config(local))
-                       ret = -EINVAL;
-               break;
-
-       case PRISM2_PARAM_ANTSEL_RX:
-               local->hw.conf.antenna_sel_rx = value;
-               if (ieee80211_hw_config(local))
-                       ret = -EINVAL;
-               break;
-
        case PRISM2_PARAM_CTS_PROTECT_ERP_FRAMES:
                local->cts_protect_erp_frames = value;
                break;
@@ -1340,14 +1328,6 @@ static int ieee80211_ioctl_get_prism2_param(struct 
net_device *dev,
                *param = sdata->ieee802_1x;
                break;
 
-       case PRISM2_PARAM_ANTSEL_TX:
-               *param = local->hw.conf.antenna_sel_tx;
-               break;
-
-       case PRISM2_PARAM_ANTSEL_RX:
-               *param = local->hw.conf.antenna_sel_rx;
-               break;
-
        case PRISM2_PARAM_CTS_PROTECT_ERP_FRAMES:
                *param = local->cts_protect_erp_frames;
                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