mac80211: fix using custom wifi-iface ifname option with netifd
authorFelix Fietkau <nbd@openwrt.org>
Sun, 8 Dec 2013 18:00:01 +0000 (18:00 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 8 Dec 2013 18:00:01 +0000 (18:00 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39003

package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh

index 16bcdb9..24b7615 100644 (file)
@@ -28,7 +28,7 @@ drv_mac80211_init_device_config() {
 drv_mac80211_init_iface_config() {
        hostapd_common_add_bss_config
 
-       config_add_string macaddr
+       config_add_string macaddr ifname
 
        config_add_boolean wds powersave
        config_add_int maxassoc