summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr/lib/autowifi/lib/wpa_supplicant2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/lib/autowifi/lib/wpa_supplicant b/usr/lib/autowifi/lib/wpa_supplicant
index 234c0898..df9c2155 100644
--- a/usr/lib/autowifi/lib/wpa_supplicant
+++ b/usr/lib/autowifi/lib/wpa_supplicant
@@ -35,7 +35,7 @@ wifi_scan(){
wpa_cli scan >/dev/null
sleep 10
- wpa_cli scan_results 2>/dev/null | grep -E "^??:" | sed 's/ / /g' | (while IFS=' ' read MAC FREQ QUALITY ENCRYPTION ESSID
+ wpa_cli scan_results 2>/dev/null | egrep "^..:" | sed 's/ / /g' | (while IFS=' ' read MAC FREQ QUALITY ENCRYPTION ESSID
do
: $((count+=1))
print_wifi_env