qcacmn: Rate limit wmi ext2 service null error log

For some platform, ext2 service bitmap is not supported. So rate
limit the wmi ext2 service bitmap NULL error log to avoid
excessive console logging.

Change-Id: I383632669e4e4a59dd9e6e3ce82626a7cd3e42b3
CRs-Fixed: 2949180
This commit is contained in:
Paul Zhang
2021-06-16 16:20:09 +08:00
committed by Madan Koyyalamudi
parent 143f8487df
commit fa7cf78ebf

View File

@@ -5358,8 +5358,8 @@ static bool is_service_enabled_tlv(wmi_unified_t wmi_handle,
} }
if (service_id >= WMI_MAX_EXT_SERVICE) { if (service_id >= WMI_MAX_EXT_SERVICE) {
wmi_err("Service id %d but WMI ext2 service bitmap is NULL", wmi_err_rl("Service id %d but WMI ext2 service bitmap is NULL",
service_id); service_id);
return false; return false;
} }
/* if wmi_service_enabled was received with extended bitmap, /* if wmi_service_enabled was received with extended bitmap,