hostapd: Fix basic_rate setup with netifd
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 28 Jan 2014 21:12:36 +0000 (21:12 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 28 Jan 2014 21:12:36 +0000 (21:12 +0000)
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 39411

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