projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26e745e
)
wpa_supplicant: fix bridging settings for wds
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 9 Mar 2010 17:35:59 +0000
(17:35 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 9 Mar 2010 17:35:59 +0000
(17:35 +0000)
SVN-Revision: 20088
package/hostapd/files/wpa_supplicant.sh
patch
|
blob
|
history
diff --git
a/package/hostapd/files/wpa_supplicant.sh
b/package/hostapd/files/wpa_supplicant.sh
index 97a00829dab82570c16eb635a25e4d1f657a2ee3..a9f8ca1322aa297ce76f7998e93d5d103bf5ca0e 100644
(file)
--- a/
package/hostapd/files/wpa_supplicant.sh
+++ b/
package/hostapd/files/wpa_supplicant.sh
@@
-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'