From fee2556cbbe8bfd3ac0e965baa36c39386c8605a Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 6 Jul 2013 00:50:56 +0200 Subject: wpa_supplicant: fix broken regex i wonder how this ever worked at all --- usr/lib/autowifi/lib/wpa_supplicant | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/lib/autowifi') 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 -- cgit v1.2.3