Currently buflen is not updated for int type, causing some ini items can't be printed via sysfs command. Change-Id: I86a991252e9fa4031959a51d6827976b6ac89c04 CRs-Fixed: 3612278
@@ -697,6 +697,7 @@ cfg_ini_config_print(struct wlan_objmgr_psoc *psoc, uint8_t *buf,
len = qdf_scnprintf(buf, buflen, "%s %d\n", meta->name,
*((int32_t *)offset));
buf += len;
+ buflen -= len;
break;
case CFG_UINT_ITEM: