mac80211: fix using custom wifi-iface ifname option with netifd
[openwrt/openwrt.git] / package / kernel / mac80211 / files / lib / netifd / wireless / mac80211.sh
index 16bcdb9ef4853258372d6e699c1f54e7d659a828..24b76157d8d42ed6015d5fd797bb1c3c3eb5c5b6 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