|
@@ -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;
|
|
|
}
|