summaryrefslogtreecommitdiffstats
path: root/scripts/wifi-menu
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-08-08 12:35:02 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-08-08 13:16:31 +0200
commit11ba258a774f72818b4c79fbc61596fe5880e837 (patch)
tree643ae47fe1a9ed2504d861164195f95e02f85842 /scripts/wifi-menu
parent0b35da2fde29d7cafceb205523df130903645b72 (diff)
downloadnetctl-11ba258a774f72818b4c79fbc61596fe5880e837.tar.gz
netctl-11ba258a774f72818b4c79fbc61596fe5880e837.tar.xz
Small code review
Diffstat (limited to 'scripts/wifi-menu')
-rwxr-xr-xscripts/wifi-menu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/wifi-menu b/scripts/wifi-menu
index 10353f8..08268a1 100755
--- a/scripts/wifi-menu
+++ b/scripts/wifi-menu
@@ -210,7 +210,7 @@ fi
report_try "Scanning for networks"
CONNECTION=$(wpa_call "$INTERFACE" status 2> /dev/null | grep -m 1 "^ssid=")
CONNECTION=${CONNECTION#ssid=}
-NETWORKS=$(wpa_supplicant_scan_info "$INTERFACE" 3,4,5)
+NETWORKS=$(wpa_supplicant_scan "$INTERFACE" 3,4,5)
if [[ $? -eq 0 ]]; then
trap 'rm -f "$NETWORKS"' EXIT
report_success