Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c8d5104 authored by Maithili Hinge's avatar Maithili Hinge Committed by John W. Linville
Browse files

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: default avatarMaithili Hinge <maithili@marvell.com>
Signed-off-by: default avatarBing Zhao <bzhao@marvell.com>
Acked-by: default avatarDan Williams <dcbw@redhat.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent abdc2d62
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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: