Explorar o código

qcacmn: Fix mcast cipher for WEP

Fix the param pass to get mcast cipher for WEP.

Change-Id: I25c24d86ffae7d0e4e03d1bf7a9457321a5de9d1
CRs-Fixed: 2859770
Abhishek Singh %!s(int64=4) %!d(string=hai) anos
pai
achega
47108a8af2
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      os_if/linux/mlme/src/osif_cm_req.c

+ 2 - 1
os_if/linux/mlme/src/osif_cm_req.c

@@ -128,7 +128,8 @@ QDF_STATUS osif_cm_set_crypto_params(struct wlan_cm_connect_req *connect_req,
 	osif_cm_set_auth_type(connect_req, req);
 
 	if (req->crypto.cipher_group)
-		cipher = osif_nl_to_crypto_cipher_type(cipher);
+		cipher =
+			osif_nl_to_crypto_cipher_type(req->crypto.cipher_group);
 
 	QDF_SET_PARAM(connect_req->crypto.group_cipher, cipher);