Commit a9bc72a
modem: cmux: Send disconnect event only after responding to CLD
If we immediately send disconnected event when CLD is received,
we might close the UART pipe before the response is actually send.
Also, shutdown_handler should not retry indefinitely.
Signed-off-by: Seppo Takalo <[email protected]>1 parent 822a501 commit a9bc72a
File tree
2 files changed
+27
-12
lines changed- subsys/modem
- tests/subsys/modem/modem_cmux_pair/src
2 files changed
+27
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
454 | 465 | | |
455 | 466 | | |
456 | 467 | | |
| |||
464 | 475 | | |
465 | 476 | | |
466 | 477 | | |
467 | | - | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
468 | 482 | | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | 483 | | |
478 | 484 | | |
479 | 485 | | |
| |||
1150 | 1156 | | |
1151 | 1157 | | |
1152 | 1158 | | |
1153 | | - | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
1154 | 1165 | | |
1155 | 1166 | | |
1156 | 1167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
510 | | - | |
| 510 | + | |
| 511 | + | |
511 | 512 | | |
512 | | - | |
| 513 | + | |
513 | 514 | | |
514 | 515 | | |
515 | 516 | | |
| |||
554 | 555 | | |
555 | 556 | | |
556 | 557 | | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
557 | 561 | | |
558 | 562 | | |
559 | 563 | | |
| |||
0 commit comments