Fix Wi-Fi scan results process when scanning fails. (#20631)

This commit is contained in:
Andrey Osin 2024-02-03 14:35:13 +03:00 committed by GitHub
parent 58816aa9a2
commit 478bd0ce17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -386,7 +386,7 @@ void WifiBeginAfterScan(void)
ResponseClear();
uint32_t initial_item = (Wifi.scan_state - 9)*10;
int32_t initial_item = (Wifi.scan_state - 9)*10;
if ( wifi_scan_result > initial_item ) {
// Sort networks by RSSI