Skip to content
Commit 3d9f76b8 authored by huajiang zheng's avatar huajiang zheng Committed by Carles Cufí
Browse files

Bluetooth: Host: add unregister connection callback function



[Description]
tests: shell: Restart bt will register the same connection callback twice.
Callback next node point to itself, when link established callback function
loop infinitely.
[Fix]
Unregister the previous callback to avoid register repeatedly.
[Test]
After bt init/disable times, create connection successfully.

Signed-off-by: default avatarhuajiang zheng <huajiang.zheng@nxp.com>
parent 7f5b332b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment