diff options
Diffstat (limited to 'net/ieee80211/ieee80211_wx.c')
-rw-r--r-- | net/ieee80211/ieee80211_wx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ieee80211/ieee80211_wx.c b/net/ieee80211/ieee80211_wx.c index 5cb9cfd35397..40d7a55fe03e 100644 --- a/net/ieee80211/ieee80211_wx.c +++ b/net/ieee80211/ieee80211_wx.c | |||
@@ -754,7 +754,7 @@ int ieee80211_wx_set_auth(struct net_device *dev, | |||
754 | int err = 0; | 754 | int err = 0; |
755 | 755 | ||
756 | spin_lock_irqsave(&ieee->lock, flags); | 756 | spin_lock_irqsave(&ieee->lock, flags); |
757 | 757 | ||
758 | switch (wrqu->param.flags & IW_AUTH_INDEX) { | 758 | switch (wrqu->param.flags & IW_AUTH_INDEX) { |
759 | case IW_AUTH_WPA_VERSION: | 759 | case IW_AUTH_WPA_VERSION: |
760 | case IW_AUTH_CIPHER_PAIRWISE: | 760 | case IW_AUTH_CIPHER_PAIRWISE: |
@@ -799,7 +799,7 @@ int ieee80211_wx_get_auth(struct net_device *dev, | |||
799 | int err = 0; | 799 | int err = 0; |
800 | 800 | ||
801 | spin_lock_irqsave(&ieee->lock, flags); | 801 | spin_lock_irqsave(&ieee->lock, flags); |
802 | 802 | ||
803 | switch (wrqu->param.flags & IW_AUTH_INDEX) { | 803 | switch (wrqu->param.flags & IW_AUTH_INDEX) { |
804 | case IW_AUTH_WPA_VERSION: | 804 | case IW_AUTH_WPA_VERSION: |
805 | case IW_AUTH_CIPHER_PAIRWISE: | 805 | case IW_AUTH_CIPHER_PAIRWISE: |