mirror of https://github.com/hak5/openwrt-owl.git
mac80211: fix spurious error return codes in enable_mac80211()
SVN-Revision: 19265owl
parent
eb1190bb29
commit
946291c8d5
|
@ -408,7 +408,7 @@ enable_mac80211() {
|
|||
start_hostapd=1
|
||||
done
|
||||
|
||||
[ -n "$start_hostapd" ] || return
|
||||
[ -n "$start_hostapd" ] || return 0
|
||||
|
||||
hostapd -P /var/run/wifi-$phy.pid -B /var/run/hostapd-$phy.conf || {
|
||||
echo "Failed to start hostapd for $phy"
|
||||
|
|
Loading…
Reference in New Issue