Skip to content

Commit 91f5391

Browse files
PavelVPVnordicjm
authored andcommitted
[nrf fromtree] bluetooth: host: ecc: Change log level debug
This commit changes log level for already registered callback from warning to debug as this is cause unnecessary noise and doesn't indicate actual issue. Caller gets a certain error code for this case which can be handled properly. Signed-off-by: Pavel Vasilyev <[email protected]> (cherry picked from commit 886faba)
1 parent f6bd90a commit 91f5391

File tree

1 file changed

+1
-1
lines changed
  • subsys/bluetooth/host

1 file changed

+1
-1
lines changed

subsys/bluetooth/host/ecc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ int bt_pub_key_gen(struct bt_pub_key_cb *new_cb)
265265

266266
SYS_SLIST_FOR_EACH_CONTAINER(&pub_key_cb_slist, cb, node) {
267267
if (cb == new_cb) {
268-
LOG_WRN("Callback already registered");
268+
LOG_DBG("Callback already registered");
269269
return -EALREADY;
270270
}
271271
}

0 commit comments

Comments
 (0)