diff options
Diffstat (limited to 'drivers/net/wireless/libertas/wext.c')
-rw-r--r-- | drivers/net/wireless/libertas/wext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c index 135116d90703..4dec5e5565bb 100644 --- a/drivers/net/wireless/libertas/wext.c +++ b/drivers/net/wireless/libertas/wext.c | |||
@@ -1398,7 +1398,7 @@ static int wlan_get_encodeext(struct net_device *dev, | |||
1398 | index = adapter->wep_tx_keyidx; | 1398 | index = adapter->wep_tx_keyidx; |
1399 | } | 1399 | } |
1400 | 1400 | ||
1401 | if (!ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY && | 1401 | if (!(ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) && |
1402 | ext->alg != IW_ENCODE_ALG_WEP) { | 1402 | ext->alg != IW_ENCODE_ALG_WEP) { |
1403 | if (index != 0 || adapter->mode != IW_MODE_INFRA) | 1403 | if (index != 0 || adapter->mode != IW_MODE_INFRA) |
1404 | goto out; | 1404 | goto out; |