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
This commit is contained in:
parent
e855d498e3
commit
4f1e282238
1 changed files with 3 additions and 3 deletions
|
@ -119,13 +119,13 @@ wpa_supplicant_setup_vif() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
local fixed_freq bssid1 beacon_interval brates mrate
|
local fixed_freq bssid1 beacon_int brates mrate
|
||||||
config_get ifname "$vif" ifname
|
config_get ifname "$vif" ifname
|
||||||
config_get bridge "$vif" bridge
|
config_get bridge "$vif" bridge
|
||||||
config_get ssid "$vif" ssid
|
config_get ssid "$vif" ssid
|
||||||
config_get bssid "$vif" bssid
|
config_get bssid "$vif" bssid
|
||||||
bssid1=${bssid:+"bssid=$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
|
local br brval brsub brstr
|
||||||
[ -n "$basic_rate_list" ] && {
|
[ -n "$basic_rate_list" ] && {
|
||||||
|
@ -163,7 +163,7 @@ network={
|
||||||
$proto
|
$proto
|
||||||
$freq
|
$freq
|
||||||
${fixed:+"fixed_freq=1"}
|
${fixed:+"fixed_freq=1"}
|
||||||
$beacon_interval
|
$beacon_int
|
||||||
$brates
|
$brates
|
||||||
$mrate
|
$mrate
|
||||||
$ht_str
|
$ht_str
|
||||||
|
|
Loading…
Reference in a new issue