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:

committed by
Madan Koyyalamudi

parent
143f8487df
commit
fa7cf78ebf
@@ -5358,8 +5358,8 @@ static bool is_service_enabled_tlv(wmi_unified_t wmi_handle,
|
||||
}
|
||||
|
||||
if (service_id >= WMI_MAX_EXT_SERVICE) {
|
||||
wmi_err("Service id %d but WMI ext2 service bitmap is NULL",
|
||||
service_id);
|
||||
wmi_err_rl("Service id %d but WMI ext2 service bitmap is NULL",
|
||||
service_id);
|
||||
return false;
|
||||
}
|
||||
/* if wmi_service_enabled was received with extended bitmap,
|
||||
|
Reference in New Issue
Block a user