From 068a364a6b77dafeaa4e5e6a815465bce08cde41 Mon Sep 17 00:00:00 2001 From: zhanghaipeng Date: Fri, 1 Dec 2023 16:55:40 +0800 Subject: [PATCH] fix(bt/bluedroid): Fix BLE SMP register log level --- components/bt/host/bluedroid/stack/smp/smp_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/host/bluedroid/stack/smp/smp_api.c b/components/bt/host/bluedroid/stack/smp/smp_api.c index df8f4cea213b..78e295f4f1f6 100644 --- a/components/bt/host/bluedroid/stack/smp/smp_api.c +++ b/components/bt/host/bluedroid/stack/smp/smp_api.c @@ -125,7 +125,7 @@ BOOLEAN SMP_Register (tSMP_CALLBACK *p_cback) SMP_TRACE_EVENT ("SMP_Register state=%d", smp_cb.state); if (smp_cb.p_callback != NULL) { - SMP_TRACE_ERROR ("SMP_Register: duplicate registration, overwrite it"); + SMP_TRACE_WARNING ("SMP_Register: duplicate registration, overwrite it"); } smp_cb.p_callback = p_cback;