aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/files/lib/wifi/mac80211.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/files/lib/wifi/mac80211.sh')
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index ca38805f7a..cd03b3082c 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -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"