wpa_supplicant: fix bridging settings for wds
SVN-Revision: 20088
This commit is contained in:
parent
26e745e736
commit
7fdbfef92f
1 changed files with 8 additions and 0 deletions
|
@ -14,6 +14,14 @@ wpa_supplicant_setup_vif() {
|
|||
config_get key "$vif" key
|
||||
}
|
||||
|
||||
local net_cfg bridge
|
||||
config_get bridge "$vif" bridge
|
||||
[ -z "$bridge" ] && {
|
||||
net_cfg="$(find_net_config "$vif")"
|
||||
[ -z "$net_cfg" ] || bridge="$(bridge_interface "$net_cfg")"
|
||||
config_set "$vif" bridge "$bridge"
|
||||
}
|
||||
|
||||
case "$enc" in
|
||||
*none*)
|
||||
key_mgmt='NONE'
|
||||
|
|
Loading…
Reference in a new issue