mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: BTM resp print is coming with all zeros
Host need to print BTM resp TLV info (wmi_roam_btm_response_info) only when trigger reason is BTM or WTC_BTM. As for other roam triggers this TLV contains zeros, so host should not print. Change-Id: Ic76a1b88b9e641745420c372b275392e86d4ba35 CRs-Fixed: 2884639
This commit is contained in:
parent
d9b55dbb41
commit
5821833f15
1 changed files with 12 additions and 1 deletions
|
|
@ -2317,7 +2317,18 @@ int wma_roam_stats_event_handler(WMA_HANDLE handle, uint8_t *event,
|
|||
qdf_mem_free(roam_info);
|
||||
return -EINVAL;
|
||||
}
|
||||
if (roam_info->btm_rsp.present)
|
||||
|
||||
/*
|
||||
* Print BTM resp TLV info (wmi_roam_btm_response_info) only
|
||||
* when trigger reason is BTM or WTC_BTM. As for other roam
|
||||
* triggers this TLV contains zeros, so host should not print.
|
||||
*/
|
||||
if ((roam_info->btm_rsp.present) &&
|
||||
(roam_info->trigger.present &&
|
||||
(roam_info->trigger.trigger_reason ==
|
||||
WMI_ROAM_TRIGGER_REASON_WTC_BTM ||
|
||||
roam_info->trigger.trigger_reason ==
|
||||
WMI_ROAM_TRIGGER_REASON_BTM)))
|
||||
wma_rso_print_btm_rsp_info(&roam_info->btm_rsp,
|
||||
vdev_id);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue