fix typo in /sbin/wifi (#1016 - thanks, dairiki)
authorFelix Fietkau <nbd@openwrt.org>
Mon, 4 Dec 2006 23:11:47 +0000 (23:11 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 4 Dec 2006 23:11:47 +0000 (23:11 +0000)
SVN-Revision: 5689

package/base-files/files/sbin/wifi

index d877c7398098823edcee7aa5442418ab4178c422..272aa16fa303c64bbcd1ab5a51a9ff752aacdc75 100755 (executable)
@@ -14,7 +14,7 @@ find_net_config() {(
                include /lib/network
                scan_interfaces
 
-               config_get ifname "$vif" ifnamea
+               config_get ifname "$vif" ifname
 
                cfg="$(find_config "$ifname")"
        }