diff --git a/components/tdls/core/src/wlan_tdls_cmds_process.c b/components/tdls/core/src/wlan_tdls_cmds_process.c index c3e457494e46..30ebe2a575ab 100644 --- a/components/tdls/core/src/wlan_tdls_cmds_process.c +++ b/components/tdls/core/src/wlan_tdls_cmds_process.c @@ -1171,7 +1171,7 @@ QDF_STATUS tdls_process_del_peer(struct tdls_oper_request *req) if (soc_obj->tdls_dp_vdev_update) soc_obj->tdls_dp_vdev_update(&soc_obj->soc, - peer->sta_id, + &peer->peer_mac, soc_obj->tdls_update_dp_vdev_flags, false); @@ -1718,7 +1718,7 @@ QDF_STATUS tdls_process_enable_link(struct tdls_oper_request *req) if (soc_obj->tdls_dp_vdev_update) soc_obj->tdls_dp_vdev_update(&soc_obj->soc, - peer->sta_id, + &peer->peer_mac, soc_obj->tdls_update_dp_vdev_flags, ((peer->link_status == TDLS_LINK_CONNECTED) ? true : false)); @@ -1939,7 +1939,7 @@ QDF_STATUS tdls_process_remove_force_peer(struct tdls_oper_request *req) if (soc_obj->tdls_dp_vdev_update) soc_obj->tdls_dp_vdev_update(&soc_obj->soc, - peer->sta_id, + &peer->peer_mac, soc_obj->tdls_update_dp_vdev_flags, false); diff --git a/components/tdls/core/src/wlan_tdls_ct.c b/components/tdls/core/src/wlan_tdls_ct.c index 10a14f218fda..a0200b7e0cf5 100644 --- a/components/tdls/core/src/wlan_tdls_ct.c +++ b/components/tdls/core/src/wlan_tdls_ct.c @@ -532,7 +532,7 @@ void tdls_indicate_teardown(struct tdls_vdev_priv_obj *tdls_vdev, if (tdls_soc->tdls_dp_vdev_update) tdls_soc->tdls_dp_vdev_update(&tdls_soc->soc, - curr_peer->sta_id, + &curr_peer->peer_mac, tdls_soc->tdls_update_dp_vdev_flags, false); diff --git a/components/tdls/dispatcher/inc/wlan_tdls_public_structs.h b/components/tdls/dispatcher/inc/wlan_tdls_public_structs.h index 68edd6e3cabb..f167ab0a1f0c 100644 --- a/components/tdls/dispatcher/inc/wlan_tdls_public_structs.h +++ b/components/tdls/dispatcher/inc/wlan_tdls_public_structs.h @@ -603,7 +603,7 @@ typedef QDF_STATUS /* This callback is used to update datapath vdev flags */ typedef QDF_STATUS (*tdls_dp_vdev_update_flags_callback)(void *cbk_data, - uint8_t sta_id, + struct qdf_mac_addr *peer_mac, uint32_t vdev_param, bool is_link_up);