qcacld-3.0: Send correct vdev_id to enable TDLS in FW
After STA or P2P cli disconnection, TDLS component is notfied of the disconnection to check if the TDLS can be enabled in FW and host. But while sending tdls set state command to FW, the disconnected vdev_id is given to FW. This can result in FW assert while processing the next tdls commands. Change-Id: Ib79547ce9d192b1d8bba3767655b3dada36e5e95 CRs-Fixed: 2412170
Este commit está contenido en:
@@ -1280,6 +1280,7 @@ tdls_process_sta_disconnect(struct tdls_sta_notify_params *notify)
|
||||
struct tdls_soc_priv_obj *tdls_soc_obj;
|
||||
struct tdls_soc_priv_obj *curr_tdls_soc;
|
||||
struct wlan_objmgr_vdev *temp_vdev = NULL;
|
||||
uint8_t vdev_id;
|
||||
|
||||
|
||||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
@@ -1312,6 +1313,7 @@ tdls_process_sta_disconnect(struct tdls_sta_notify_params *notify)
|
||||
if (!notify->lfr_roam && !tdls_soc_obj->tdls_disable_in_progress) {
|
||||
temp_vdev = tdls_get_vdev(tdls_soc_obj->soc, WLAN_TDLS_NB_ID);
|
||||
if (NULL != temp_vdev) {
|
||||
vdev_id = wlan_vdev_get_id(temp_vdev);
|
||||
status = tdls_get_vdev_objects(temp_vdev,
|
||||
&tdls_vdev_obj,
|
||||
&tdls_soc_obj);
|
||||
@@ -1321,7 +1323,7 @@ tdls_process_sta_disconnect(struct tdls_sta_notify_params *notify)
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
notify->session_id);
|
||||
vdev_id);
|
||||
curr_tdls_vdev = tdls_vdev_obj;
|
||||
curr_tdls_soc = tdls_soc_obj;
|
||||
}
|
||||
|
Referencia en una nueva incidencia
Block a user