aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-10-18 11:47:47 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-10-18 11:47:47 +0000
commit9620e5bae9d00a12731f7fb90dbd20e5de54903c (patch)
tree60191421fdb9e875a7af5cb4f363d87836054d81 /package/network
parent722e5eed14ecab7ec30f9c91b560ca326d1a3dda (diff)
downloadupstream-9620e5bae9d00a12731f7fb90dbd20e5de54903c.tar.gz
upstream-9620e5bae9d00a12731f7fb90dbd20e5de54903c.tar.bz2
upstream-9620e5bae9d00a12731f7fb90dbd20e5de54903c.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38451 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/hostapd/files/wpa_supplicant.sh6
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 0b5e1d391f..bd8680157a 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