mac80211: fix interface setup for wds client sometimes an interface does not get added to the bridge properly this seems to be a race of interface setup vs wpa_supplicant fix this by configuring the interface only after wpa_supplicant has been started
SVN-Revision: 20106
This commit is contained in:
parent
ad1507756b
commit
8b9afa6f75
1 changed files with 2 additions and 2 deletions
|
@ -353,8 +353,7 @@ enable_mac80211() {
|
|||
ifconfig "$ifname" up
|
||||
|
||||
if [ ! "$mode" = "ap" ]; then
|
||||
mac80211_start_vif "$vif" "$ifname"
|
||||
|
||||
ifconfig "$ifname" up
|
||||
case "$mode" in
|
||||
adhoc)
|
||||
config_get bssid "$vif" bssid
|
||||
|
@ -372,6 +371,7 @@ enable_mac80211() {
|
|||
fi
|
||||
;;
|
||||
esac
|
||||
mac80211_start_vif "$vif" "$ifname"
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue