mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 16:43:09 +02:00
[package] hostapd: ensure that wpa_supplicant_setup_vif() returns success in cases where wpa_supplicant is not invoked (#11996)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33674 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f00886da07
commit
5d11e4a29a
@ -191,6 +191,9 @@ network={
|
||||
$wep_tx_keyidx
|
||||
}
|
||||
EOF
|
||||
[ -z "$proto" -a "$key_mgmt" != "NONE" ] || \
|
||||
if [ -n "$proto" -o "$key_mgmt" == "NONE" ]; then
|
||||
wpa_supplicant ${bridge:+ -b $bridge} -B -P "/var/run/wifi-${ifname}.pid" -D ${driver:-wext} -i "$ifname" -c /var/run/wpa_supplicant-$ifname.conf $options
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user