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

Commit 5e8d3510 authored by gaurank kathpalia's avatar gaurank kathpalia Committed by nshrivas
Browse files

qcacmn: Fix the condition for filling WAPI params

Fix the condition for filling WAPI params in
wlan_crypto_set_wapi_key

Change-Id: I3b74e2a36cdc83f06e40d746e2d7aa0740aec65a
CRs-Fixed: 2685797
parent b187d515
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -53,7 +53,7 @@ static void wlan_crypto_set_wapi_key(struct wlan_objmgr_vdev *vdev,
						0x5c, 0x36, 0x5c, 0x36, 0x5c,
						0x5c, 0x36, 0x5c, 0x36, 0x5c,
						0x37};
						0x37};


	if (cipher_type != WLAN_CRYPTO_CIPHER_WAPI_SMS4 ||
	if (cipher_type != WLAN_CRYPTO_CIPHER_WAPI_SMS4 &&
	    cipher_type != WLAN_CRYPTO_CIPHER_WAPI_GCM4)
	    cipher_type != WLAN_CRYPTO_CIPHER_WAPI_GCM4)
		return;
		return;