]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
libertas: Fix WEP association failure with open source wpa_supplicant 0.5.10
authorMaithili Hinge <maithili@marvell.com>
Sat, 1 Aug 2009 03:02:19 +0000 (20:02 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:44:23 +0000 (16:44 -0400)
Add code to handle IW_AUTH_PRIVACY_INVOKED and IW_AUTH_RX_UNENCRYPTED_EAPOL
cases in lbs_set_auth() function in libertas code.

Signed-off-by: Maithili Hinge <maithili@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/wext.c

index e96451ce470b5a39966bc80228d759cef5a3c2d9..be837a0d2517f7edb627077f598296aca8724f33 100644 (file)
@@ -1728,6 +1728,8 @@ static int lbs_set_auth(struct net_device *dev,
        }
 
        switch (dwrq->flags & IW_AUTH_INDEX) {
+       case IW_AUTH_PRIVACY_INVOKED:
+       case IW_AUTH_RX_UNENCRYPTED_EAPOL:
        case IW_AUTH_TKIP_COUNTERMEASURES:
        case IW_AUTH_CIPHER_PAIRWISE:
        case IW_AUTH_CIPHER_GROUP: