Преглед на файлове

qcacld-3.0: Use proper vdev ID while processing the OP mode update

While enqueuing the WMA_UPDATE_OP_MODE, session ID is filled with
the index where the BSSID entry matched in PE session. And after
dequeuing it this session ID is used as vdev ID and sent to FW in
WMI_PEER_SET_PARAM_CMDID, which results in sending an update for
an invalid vdev ID.
Hence use the smeSessionId value from PE session.

Change-Id: I1b550be2c98c3eb0f3716a953408ee2c217e8d9b
CRs-Fixed: 3510396
Srikanth Marepalli преди 1 година
родител
ревизия
e2bf430ebf
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      core/mac/src/pe/lim/lim_process_sme_req_messages.c

+ 1 - 1
core/mac/src/pe/lim/lim_process_sme_req_messages.c

@@ -7755,7 +7755,7 @@ static void __lim_process_sme_set_ht2040_mode(struct mac_context *mac,
 				eHT_CHANNEL_WIDTH_20MHZ : eHT_CHANNEL_WIDTH_40MHZ;
 			qdf_mem_copy(pHtOpMode->peer_mac, &sta->staAddr,
 				     sizeof(tSirMacAddr));
-			pHtOpMode->smesessionId = sessionId;
+			pHtOpMode->smesessionId = pe_session->smeSessionId;
 
 			msg.type = WMA_UPDATE_OP_MODE;
 			msg.reserved = 0;