nimble/ll: Fix ports build

The assert only works on MyNewt
This commit is contained in:
Bas van den Berg
2023-05-12 15:38:44 +02:00
committed by Andrzej Kaczmarek
parent 1240af08b9
commit 46fdbeeb0d
+1 -2
View File
@@ -211,8 +211,7 @@ ble_ll_sync_sm_clear(struct ble_ll_sync_sm *sm)
}
ble_ll_rfmgmt_release();
BLE_LL_ASSERT(sm->sync_ev_end.ev.ev_queued == 0);
BLE_LL_ASSERT(ble_npl_event_is_queued(&sm->sync_ev_end) == 0);
BLE_LL_ASSERT(sm->sch.enqueued == 0);
memset(sm, 0, sizeof(*sm));