hostapd: Fix basic_rate setup with netifd
[openwrt.git] / package / network / services / hostapd / files / netifd.sh
index 930755ffb50c830054d743d1f317fdf32bf3795a..43cc99b29019db24d4d77d049dd722def434cc6a 100644 (file)
@@ -69,6 +69,7 @@ hostapd_prepare_device_config() {
        [ -n "$hwmode" ] && append base_cfg "hw_mode=$hwmode" "$N"
 
        local brlist= br
+       json_get_values basic_rate_list basic_rate
        for br in $basic_rate_list; do
                hostapd_add_rate brlist "$br"
        done