|
@@ -1584,8 +1584,10 @@ QDF_STATUS wma_remove_peer(tp_wma_handle wma, uint8_t *mac_addr,
|
|
|
peer_tid_bitmap &= ~(0x1 << WMI_MGMT_TID);
|
|
|
param.peer_tid_bitmap = peer_tid_bitmap;
|
|
|
param.vdev_id = vdev_id;
|
|
|
- wmi_unified_peer_flush_tids_send(wma->wmi_handle, mac_addr,
|
|
|
- ¶m);
|
|
|
+ if (!wmi_service_enabled(wma->wmi_handle,
|
|
|
+ wmi_service_peer_delete_no_peer_flush_tids_cmd))
|
|
|
+ wmi_unified_peer_flush_tids_send(wma->wmi_handle, mac_addr,
|
|
|
+ ¶m);
|
|
|
|
|
|
/* peer->ref_cnt is not visible in WMA */
|
|
|
wlan_roam_debug_log(vdev_id, DEBUG_PEER_DELETE_SEND,
|