From 9fef1a1c0dd1e0f0f0ff52a506b7dbc9ca313d7c Mon Sep 17 00:00:00 2001 From: Santosh Anbu Date: Wed, 4 Oct 2017 10:32:13 +0530 Subject: [PATCH] qcacmn: Add the entries "WLAN_SA_API_ID" & "WLAN_SPLITMAC_ID" "string_from_dbgid" takes any value from 0 to WLAN_REF_ID_MAX(29) and return a string corresponding to that index. 'strings' array has only 28 entries(0to27). Add the remaining two missing entries Change-Id: I27bf0ffe8341461c3f56eb02ae6482495b3cc338 CRs-Fixed: 2120818 --- umac/cmn_services/obj_mgr/inc/wlan_objmgr_cmn.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_cmn.h b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_cmn.h index cea2ce99851d..96e1a02fbcd2 100644 --- a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_cmn.h +++ b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_cmn.h @@ -274,7 +274,9 @@ static inline char *string_from_dbgid(wlan_objmgr_ref_dbgid id) "WLAN_OFFCHAN_TXRX_ID", "WLAN_POLICY_MGR_ID", "WLAN_SON_ID", + "WLAN_SA_API_ID", "WLAN_SPECTRAL_ID", + "WLAN_SPLITMAC_ID", "WLAN_REF_ID_MAX" }; return (char *)strings[id];