mirror of
https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git
synced 2025-09-03 13:12:44 +02:00
Fix wifi (re)connection when available SSID is not the first one in wpa_supplicant.conf (#1717)
This commit is contained in:
@@ -165,7 +165,7 @@ wpa_action_watchdog_stop() {
|
||||
}
|
||||
|
||||
ap_scanner_ssid() {
|
||||
grep -v '^[[:space:]]*#' "$WPA_CONFIG" | grep "ssid=" | head -1 | cut -d "=" -f2
|
||||
grep -v '^[[:space:]]*#' "$WPA_CONFIG" | grep "ssid=" | cut -d "=" -f2
|
||||
}
|
||||
|
||||
ap_scanner_scan() {
|
||||
|
Reference in New Issue
Block a user