Add system prop for enabling protocol logging
Change-Id: I6e398cb4b64902cb5d2ed63d5729d2ed1b211c6d
diff --git a/src/adaptation/NfcAdaptation.cpp b/src/adaptation/NfcAdaptation.cpp
index 0736811..1a9e191 100644
--- a/src/adaptation/NfcAdaptation.cpp
+++ b/src/adaptation/NfcAdaptation.cpp
@@ -130,8 +130,8 @@
{
strlcpy (bcm_nfc_location, "/data/nfc", sizeof(bcm_nfc_location));
}
- if ( GetNumValue ( NAME_PROTOCOL_TRACE_LEVEL, &num, sizeof ( num ) ) )
- ScrProtocolTraceFlag = num;
+
+ initializeProtocolLogLevel ();
if ( GetStrValue ( NAME_NFA_DM_CFG, (char*)nfa_dm_cfg, sizeof ( nfa_dm_cfg ) ) )
p_nfa_dm_cfg = ( tNFA_DM_CFG * ) &nfa_dm_cfg[0];