fix typo
authorFelix Fietkau <nbd@openwrt.org>
Fri, 17 Nov 2006 05:31:21 +0000 (05:31 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 17 Nov 2006 05:31:21 +0000 (05:31 +0000)
SVN-Revision: 5554

package/base-files/default/sbin/wifi

index e13c3528a998d0a7c0596eea86ead1017e844087..d877c7398098823edcee7aa5442418ab4178c422 100755 (executable)
@@ -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
 )}