mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-02 07:20:16 +00:00
fix send of DM for channel
This commit is contained in:
parent
2964498f81
commit
00b30f40f0
@ -1097,8 +1097,9 @@ static void rfcomm_multiplexer_state_machine(rfcomm_multiplexer_t * multiplexer,
|
|||||||
|
|
||||||
// process stored DM responses
|
// process stored DM responses
|
||||||
if (multiplexer->send_dm_for_dlci){
|
if (multiplexer->send_dm_for_dlci){
|
||||||
|
uint8_t dlci = multiplexer->send_dm_for_dlci;
|
||||||
multiplexer->send_dm_for_dlci = 0;
|
multiplexer->send_dm_for_dlci = 0;
|
||||||
rfcomm_send_dm_pf(multiplexer, multiplexer->send_dm_for_dlci);
|
rfcomm_send_dm_pf(multiplexer, dlci);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user