diff options
-rw-r--r-- | usr/lib/autowifi/lib/wpa_supplicant | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/lib/autowifi/lib/wpa_supplicant b/usr/lib/autowifi/lib/wpa_supplicant index 28c327e9..a854d7ca 100644 --- a/usr/lib/autowifi/lib/wpa_supplicant +++ b/usr/lib/autowifi/lib/wpa_supplicant @@ -54,3 +54,6 @@ print_wifi_env(){ eval echo ${i}_${count}=\\\"\$"${i}"\\\" done } +wpa_supplicant_is_usable(){ + wpa_cli status >/dev/null 2>&1 +} |