Skip to content

Commit

Permalink
Merge pull request #201 from kext/l2cap-tx-channel-released
Browse files Browse the repository at this point in the history
L2CAP channel could get released while waiting
  • Loading branch information
Dirbaio authored Nov 8, 2023
2 parents f82d0b7 + 8cb482e commit 17c6c2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nrf-softdevice/src/ble/l2cap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ impl<P: Packet> Channel<P> {
.wait_once(|ble_evt| unsafe {
match (*ble_evt).header.evt_id as u32 {
raw::BLE_L2CAP_EVTS_BLE_L2CAP_EVT_CH_TX => (),
raw::BLE_L2CAP_EVTS_BLE_L2CAP_EVT_CH_RELEASED => (),
_ => unreachable!("Invalid event"),
}
})
Expand Down

0 comments on commit 17c6c2b

Please sign in to comment.