We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 438a70d commit d869f39Copy full SHA for d869f39
nimble/host/src/ble_hs_stop.c
@@ -71,14 +71,14 @@ ble_hs_stop_done(int status)
71
72
ble_hs_stop_hci_reset();
73
74
+ /* Clear advertising, scanning and connection states. */
75
+ ble_gap_reset_state(0);
76
+
77
/* After LL reset the controller loses its random address */
78
ble_hs_id_reset();
79
80
ble_hs_pvcy_reset();
81
- /* Clear advertising, scanning and connection states. */
- ble_gap_reset_state(0);
-
82
ble_hs_unlock();
83
84
SLIST_FOREACH(listener, &slist, link) {
0 commit comments