Commit 8694a4d
nrf_rpc: fix initialization corner case
When initializing multiple groups that share the same
transport, it may happen that a device receives an init
packet for a group whose internal members have not been
initialized yet, leading to the bus fault.
Make sure that internal members of all groups have been
initialized before ANY transport is started to prevent
that.
Signed-off-by: Damian Krolik <[email protected]>1 parent 90d2041 commit 8694a4d
1 file changed
+13
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | 429 | | |
442 | 430 | | |
443 | 431 | | |
| |||
1138 | 1126 | | |
1139 | 1127 | | |
1140 | 1128 | | |
| 1129 | + | |
1141 | 1130 | | |
1142 | 1131 | | |
1143 | 1132 | | |
| |||
1149 | 1138 | | |
1150 | 1139 | | |
1151 | 1140 | | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
1152 | 1153 | | |
1153 | 1154 | | |
1154 | 1155 | | |
| |||
0 commit comments