mac80211: only add the mbssid option to the config when set
This avoids errors when the feature is not built into the hostapd binary Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
7365e8f1bb
commit
02b4dc93b6
@ -488,7 +488,7 @@ ${channel:+channel=$channel}
|
|||||||
${channel_list:+chanlist=$channel_list}
|
${channel_list:+chanlist=$channel_list}
|
||||||
${hostapd_noscan:+noscan=1}
|
${hostapd_noscan:+noscan=1}
|
||||||
${tx_burst:+tx_queue_data2_burst=$tx_burst}
|
${tx_burst:+tx_queue_data2_burst=$tx_burst}
|
||||||
mbssid=$multiple_bssid
|
${multiple_bssid:+mbssid=$multiple_bssid}
|
||||||
#num_global_macaddr=$num_global_macaddr
|
#num_global_macaddr=$num_global_macaddr
|
||||||
$base_cfg
|
$base_cfg
|
||||||
|
|
||||||
@ -537,7 +537,7 @@ mac80211_generate_mac() {
|
|||||||
local phy="$1"
|
local phy="$1"
|
||||||
local id="${macidx:-0}"
|
local id="${macidx:-0}"
|
||||||
|
|
||||||
wdev_tool "$phy" get_macaddr id=$id num_global=$num_global_macaddr mbssid=$multiple_bssid
|
wdev_tool "$phy" get_macaddr id=$id num_global=$num_global_macaddr mbssid=${multiple_bssid:-0}
|
||||||
}
|
}
|
||||||
|
|
||||||
get_board_phy_name() (
|
get_board_phy_name() (
|
||||||
@ -1049,7 +1049,7 @@ drv_mac80211_setup() {
|
|||||||
txpower \
|
txpower \
|
||||||
rxantenna txantenna \
|
rxantenna txantenna \
|
||||||
frag rts beacon_int:100 htmode \
|
frag rts beacon_int:100 htmode \
|
||||||
num_global_macaddr:1 multiple_bssid:0
|
num_global_macaddr:1 multiple_bssid
|
||||||
json_get_values basic_rate_list basic_rate
|
json_get_values basic_rate_list basic_rate
|
||||||
json_get_values scan_list scan_list
|
json_get_values scan_list scan_list
|
||||||
json_select ..
|
json_select ..
|
||||||
|
Loading…
x
Reference in New Issue
Block a user