mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-09 21:45:54 +00:00
forgot the l2cap_next_sig_id call
This commit is contained in:
parent
2cd0be456d
commit
dc8ceabbe7
@ -253,6 +253,7 @@ void l2cap_run(void){
|
||||
switch (channel->state){
|
||||
|
||||
case L2CAP_STATE_WILL_SEND_DISCONNECT:
|
||||
channel->sig_id = l2cap_next_sig_id();
|
||||
l2cap_send_signaling_packet( channel->handle, DISCONNECTION_REQUEST, channel->sig_id, channel->remote_cid, channel->local_cid);
|
||||
channel->state = L2CAP_STATE_WAIT_DISCONNECT;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user