diff options
author | Maithili Hinge <maithili@marvell.com> | 2009-07-31 23:02:19 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-04 16:44:23 -0400 |
commit | 2c8d51048f6a54aabe2e15278210cb07288e17bb (patch) | |
tree | d694019c506446c446dfdde6ded197fa1bf90123 /drivers/net/wireless/libertas/wext.c | |
parent | abdc2d62be335b85091e8f74081336563277a163 (diff) |
libertas: Fix WEP association failure with open source wpa_supplicant 0.5.10
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>
Diffstat (limited to 'drivers/net/wireless/libertas/wext.c')
-rw-r--r-- | drivers/net/wireless/libertas/wext.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c index e96451ce470b..be837a0d2517 100644 --- a/drivers/net/wireless/libertas/wext.c +++ b/drivers/net/wireless/libertas/wext.c | |||
@@ -1728,6 +1728,8 @@ static int lbs_set_auth(struct net_device *dev, | |||
1728 | } | 1728 | } |
1729 | 1729 | ||
1730 | switch (dwrq->flags & IW_AUTH_INDEX) { | 1730 | switch (dwrq->flags & IW_AUTH_INDEX) { |
1731 | case IW_AUTH_PRIVACY_INVOKED: | ||
1732 | case IW_AUTH_RX_UNENCRYPTED_EAPOL: | ||
1731 | case IW_AUTH_TKIP_COUNTERMEASURES: | 1733 | case IW_AUTH_TKIP_COUNTERMEASURES: |
1732 | case IW_AUTH_CIPHER_PAIRWISE: | 1734 | case IW_AUTH_CIPHER_PAIRWISE: |
1733 | case IW_AUTH_CIPHER_GROUP: | 1735 | case IW_AUTH_CIPHER_GROUP: |