diff options
author | Richard Kennedy <richard@rsk.demon.co.uk> | 2008-11-03 11:21:30 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 21:52:00 (GMT) |
commit | 87b3df81fcee640952bd7c038b33488af4ee2bc7 (patch) | |
tree | e270c1e0f1647daed3aa6b1c507d1a69d46b54df /drivers/staging/wlan-ng/p80211wext.c | |
parent | 46fa61f3600ad608b0fe69a17ece29323654e5c3 (diff) | |
download | linux-fsl-qoriq-87b3df81fcee640952bd7c038b33488af4ee2bc7.tar.xz |
Staging: wlan-ng: p80211wext don't set default key id twice
p80211wext don't set default key id twice
another change from wlan-ng-devel
Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlan-ng/p80211wext.c')
-rw-r--r-- | drivers/staging/wlan-ng/p80211wext.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/wlan-ng/p80211wext.c b/drivers/staging/wlan-ng/p80211wext.c index c795a36..affba76 100644 --- a/drivers/staging/wlan-ng/p80211wext.c +++ b/drivers/staging/wlan-ng/p80211wext.c @@ -611,13 +611,6 @@ static int p80211wext_siwencode(netdevice_t *dev, else i--; - result = p80211wext_dorequest(wlandev, DIDmib_dot11smt_dot11PrivacyTable_dot11WEPDefaultKeyID, i); - - if (result) { - err = -EFAULT; - goto exit; - } - /* Set current key number only if no keys are given */ if (erq->flags & IW_ENCODE_NOKEY) { result = p80211wext_dorequest(wlandev, DIDmib_dot11smt_dot11PrivacyTable_dot11WEPDefaultKeyID, i); |