summaryrefslogtreecommitdiffstats
path: root/contrib/netcfg-auto-wireless
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/netcfg-auto-wireless')
-rwxr-xr-xcontrib/netcfg-auto-wireless2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/netcfg-auto-wireless b/contrib/netcfg-auto-wireless
index 036cd12..11cf05f 100755
--- a/contrib/netcfg-auto-wireless
+++ b/contrib/netcfg-auto-wireless
@@ -19,7 +19,7 @@ wifi_auto()
if [[ -n "$profile" ]]; then
break # If we found a profile, use it.
fi
- done < "$(list_networks $IFACE)"
+ done < "$(list_networks $INTERFACE)"
# If there's a profile, connect, else fail.
if [[ -n "$profile" ]]; then