summaryrefslogtreecommitdiff
path: root/package/base-files/default/sbin/wifi
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/sbin/wifi')
-rwxr-xr-xpackage/base-files/default/sbin/wifi2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/sbin/wifi b/package/base-files/default/sbin/wifi
index e13c352..d877c73 100755
--- a/package/base-files/default/sbin/wifi
+++ b/package/base-files/default/sbin/wifi
@@ -31,7 +31,7 @@ bridge_interface() {(
scan_interfaces
config_get iftype "$cfg" type
- [ "$iftype" = bridge ] && config_get "$iftype" ifname
+ [ "$iftype" = bridge ] && config_get "$cfg" ifname
)}