Commit 25eb787
fix(radio): update radio_conf.rx_when_idle in set_link_mode
OpenThread doesn't call otPlatRadioSetRxOnWhenIdle callback, so the
radio config was never updated when link mode changed. This caused
the ESP radio driver to keep rx_when_idle: false even when the device
should stay awake to receive unsolicited messages.
Now set_link_mode directly updates radio_conf.rx_when_idle to match
the requested link mode, ensuring the ESP radio driver configuration
stays in sync.
Co-Authored-By: Claude <[email protected]>
Signed-off-by: Aleksei Sviridkin <[email protected]>1 parent f5b7211 commit 25eb787
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
446 | 458 | | |
447 | 459 | | |
448 | 460 | | |
| |||
0 commit comments