Browse Source

qcacld-3.0: Update last auth type correctly

Currently driver does not update last auth type for big data stats
because of which it reports incorrect auth type to user space when
it receives big data query.

To address above issue, update last auth type correctly for big
data logging.

Change-Id: I170714cef1d3ec95c47db84e77d9c3adbdf8cd39
CRs-Fixed: 3001629
Ashish Kumar Dhanotiya 3 years ago
parent
commit
f1c443c22a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/hdd/src/wlan_hdd_cm_connect.c

+ 2 - 0
core/hdd/src/wlan_hdd_cm_connect.c

@@ -717,6 +717,8 @@ static void hdd_cm_save_connect_info(struct hdd_adapter *adapter,
 				   crypto_params->authmodeset,
 				   crypto_params->key_mgmt,
 				   crypto_params->ucastcipherset);
+		sta_ctx->conn_info.last_auth_type =
+					sta_ctx->conn_info.auth_type;
 	}
 	des_chan = wlan_vdev_mlme_get_des_chan(adapter->vdev);