diff options
| author | Your Name <you@example.com> | 2026-05-18 23:36:29 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-18 23:36:29 +0530 |
| commit | 9ff7cffcff11237288cfddecee2684f499d23ddf (patch) | |
| tree | 18d8453ef76fd8e47b44dcef9248417e778708a5 /components | |
| parent | 46e7dabaf80333ca045061ff480377a4186e5deb (diff) | |
fix: prevent IntegerDivideByZero in config_get_next_wifi when no networks
- Check network_count == 0 before modulo operation
- Disconnect STA before WiFi scan to avoid 'STA is connecting, scan not allowed'
- Add error handling for failed WiFi scans
- This fixes the crash/restart loop on Board C with no configured WiFi
Diffstat (limited to 'components')
0 files changed, 0 insertions, 0 deletions