qcacmn: Rectify format specifier for qdf_size_t in MLO utility
Resolve compilation error seen on some platforms by rectifying print format specifier for qdf_size_t to "zu" in MLO utility functions. Change-Id: I68b0696fea1c54578631e731a3cc48ec0eb84c97 CRs-Fixed: 3017056
This commit is contained in:

committed by
Madan Koyyalamudi

parent
af4c03b546
commit
9503c2a865
@@ -115,7 +115,7 @@ uint8_t *util_parse_multi_link_ctrl_ie(uint8_t *subelement,
|
|||||||
|
|
||||||
if (link_info_ie_len) {
|
if (link_info_ie_len) {
|
||||||
*link_info_ie_len = len - sub_ie_len;
|
*link_info_ie_len = len - sub_ie_len;
|
||||||
mlo_debug("link_info_ie_len:%lu, sub_ie_len:%lu",
|
mlo_debug("link_info_ie_len:%zu, sub_ie_len:%zu",
|
||||||
*link_info_ie_len, sub_ie_len);
|
*link_info_ie_len, sub_ie_len);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -173,7 +173,7 @@ uint8_t *util_parse_sta_profile_ie(uint8_t *subelement,
|
|||||||
tmp_len = tmp_len + TAG_LEN_POS;
|
tmp_len = tmp_len + TAG_LEN_POS;
|
||||||
|
|
||||||
if (len <= tmp_len) {
|
if (len <= tmp_len) {
|
||||||
mlo_err("len %lu <= tmp_len %lu, return", len, tmp_len);
|
mlo_err("len %zu <= tmp_len %zu, return", len, tmp_len);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
*per_sta_prof_ie_len = len - tmp_len;
|
*per_sta_prof_ie_len = len - tmp_len;
|
||||||
|
Reference in New Issue
Block a user