diff options
Diffstat (limited to 'net/ieee80211')
-rw-r--r-- | net/ieee80211/ieee80211_wx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee80211/ieee80211_wx.c b/net/ieee80211/ieee80211_wx.c index d309e8f19992..623489afa62c 100644 --- a/net/ieee80211/ieee80211_wx.c +++ b/net/ieee80211/ieee80211_wx.c | |||
@@ -709,7 +709,7 @@ int ieee80211_wx_get_encodeext(struct ieee80211_device *ieee, | |||
709 | } else | 709 | } else |
710 | idx = ieee->tx_keyidx; | 710 | idx = ieee->tx_keyidx; |
711 | 711 | ||
712 | if (!ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY && | 712 | if (!(ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) && |
713 | ext->alg != IW_ENCODE_ALG_WEP) | 713 | ext->alg != IW_ENCODE_ALG_WEP) |
714 | if (idx != 0 || ieee->iw_mode != IW_MODE_INFRA) | 714 | if (idx != 0 || ieee->iw_mode != IW_MODE_INFRA) |
715 | return -EINVAL; | 715 | return -EINVAL; |