Commit 8acd96f
esim: hold filesystem lock during AtClient echo disable
When multiple processes create TiciLPA simultaneously, each AtClient
sends ATE0 to the serial port during init without holding any lock.
This can inject into the serial stream while another process is
mid-command, causing timeouts. Hold the filesystem lock during
_disable_echo to serialize init across processes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 698fcc5 commit 8acd96f
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
131 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
132 | 139 | | |
133 | 140 | | |
134 | 141 | | |
| |||
692 | 699 | | |
693 | 700 | | |
694 | 701 | | |
695 | | - | |
696 | 702 | | |
697 | 703 | | |
698 | 704 | | |
| |||
0 commit comments