summaryrefslogtreecommitdiffstats
path: root/src/8021x
diff options
context:
space:
mode:
authorRémy Oudompheng <remy@archlinux.org>2011-06-19 17:23:29 +0200
committerRémy Oudompheng <remy@archlinux.org>2011-06-19 18:49:26 +0200
commitae967f278e150f83f4d3e05eae789ee0f0cfc8f0 (patch)
tree41699fd8f7baff30766aede34dbb32f22d164443 /src/8021x
parent13393d42c895b5f5b8853bafdb17c8b6d69e65bb (diff)
downloadnetctl-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/8021x6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/8021x b/src/8021x
index 0584040..a4a08ca 100644
--- a/src/8021x
+++ b/src/8021x
@@ -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