summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 e13c3528a..d877c7398 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
)}