diff options
author | Rémy Oudompheng <remy@archlinux.org> | 2011-06-19 17:23:29 +0200 |
---|---|---|
committer | Rémy Oudompheng <remy@archlinux.org> | 2011-06-19 18:49:26 +0200 |
commit | ae967f278e150f83f4d3e05eae789ee0f0cfc8f0 (patch) | |
tree | 41699fd8f7baff30766aede34dbb32f22d164443 /src/8021x | |
parent | 13393d42c895b5f5b8853bafdb17c8b6d69e65bb (diff) | |
download | netctl-ae967f278e150f83f4d3e05eae789ee0f0cfc8f0.tar.gz netctl-ae967f278e150f83f4d3e05eae789ee0f0cfc8f0.tar.xz |
Switch to wpa_supplicant for scanning
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
Diffstat (limited to 'src/8021x')
-rw-r--r-- | src/8021x | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -50,6 +50,12 @@ stop_wpa() fi } +wpa_reconfigure() { + local INTERFACE=$1 + $WPA_CLI -i "$INTERFACE" reconfigure + return $? +} + wpa_find_essid() { # usage: wpa_find_essid $INTERFACE $ESSID # look for existence of a given essid. Assumes wpa_supplicant is |