diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_ioctl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/hostap/hostap_ioctl.c b/drivers/net/wireless/hostap/hostap_ioctl.c index f3e0ce1ee037..8b37e824dfcb 100644 --- a/drivers/net/wireless/hostap/hostap_ioctl.c +++ b/drivers/net/wireless/hostap/hostap_ioctl.c | |||
@@ -3358,10 +3358,6 @@ static int prism2_ioctl_siwencodeext(struct net_device *dev, | |||
3358 | if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) { | 3358 | if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) { |
3359 | if (!sta_ptr) | 3359 | if (!sta_ptr) |
3360 | local->tx_keyidx = i; | 3360 | local->tx_keyidx = i; |
3361 | else if (i) { | ||
3362 | ret = -EINVAL; | ||
3363 | goto done; | ||
3364 | } | ||
3365 | } | 3361 | } |
3366 | 3362 | ||
3367 | 3363 | ||