diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-10-18 11:47:47 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-10-18 11:47:47 +0000 |
commit | 4f1e282238f9f80854aaccf1aa289821f2bb2eca (patch) | |
tree | 56bc3ba4cc95b7a454ff817e5dae1f93f3d2d052 /package/network/services/hostapd | |
parent | e855d498e34227ebd690c48aa5f4ae7df8807433 (diff) | |
download | mtk-20170518-4f1e282238f9f80854aaccf1aa289821f2bb2eca.zip mtk-20170518-4f1e282238f9f80854aaccf1aa289821f2bb2eca.tar.gz mtk-20170518-4f1e282238f9f80854aaccf1aa289821f2bb2eca.tar.bz2 |
wpa_supplicant: fix beacon_int configuration option
wpa_supplicant expects beacon_int instead of beacon_interval in its config
file.
Signed-off-by: Bruno Randolf <br1@einfach.org>
SVN-Revision: 38451
Diffstat (limited to 'package/network/services/hostapd')
-rw-r--r-- | package/network/services/hostapd/files/wpa_supplicant.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/network/services/hostapd/files/wpa_supplicant.sh b/package/network/services/hostapd/files/wpa_supplicant.sh index 0b5e1d3..bd86801 100644 --- a/package/network/services/hostapd/files/wpa_supplicant.sh +++ b/package/network/services/hostapd/files/wpa_supplicant.sh @@ -119,13 +119,13 @@ wpa_supplicant_setup_vif() { ;; esac - local fixed_freq bssid1 beacon_interval brates mrate + local fixed_freq bssid1 beacon_int brates mrate config_get ifname "$vif" ifname config_get bridge "$vif" bridge config_get ssid "$vif" ssid config_get bssid "$vif" bssid bssid1=${bssid:+"bssid=$bssid"} - beacon_interval=${beacon_int:+"beacon_interval=$beacon_int"} + beacon_int=${beacon_int:+"beacon_int=$beacon_int"} local br brval brsub brstr [ -n "$basic_rate_list" ] && { @@ -163,7 +163,7 @@ network={ $proto $freq ${fixed:+"fixed_freq=1"} - $beacon_interval + $beacon_int $brates $mrate $ht_str |