Browse Source

Merge "qca-wifi: Resolving parse error in wmi_stats_event"

Linux Build Service Account 5 years ago
parent
commit
86e650e2d4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      wmi/src/wmi_unified_non_tlv.c

+ 2 - 1
wmi/src/wmi_unified_non_tlv.c

@@ -8928,7 +8928,8 @@ static QDF_STATUS extract_all_stats_counts_non_tlv(wmi_unified_t wmi_handle,
 		stats_param->stats_id |= WMI_HOST_REQUEST_PEER_EXTD_STAT;
 	if (stats_id & WMI_REQUEST_VDEV_EXTD_STAT)
 		stats_param->stats_id |= WMI_HOST_REQUEST_VDEV_EXTD_STAT;
-	if (stats_id & (WMI_REQUEST_PDEV_EXT2_STAT | WMI_REQUEST_NAC_RSSI_STAT))
+	if ((stats_id & WMI_REQUEST_PDEV_EXT2_STAT) &&
+		(stats_id & WMI_REQUEST_NAC_RSSI_STAT))
 		stats_param->stats_id |= WMI_HOST_REQUEST_NAC_RSSI;
 	if (stats_id & WMI_REQUEST_PEER_RETRY_STAT)
 		stats_param->stats_id |= WMI_HOST_REQUEST_PEER_RETRY_STAT;