[package] mac80211: fix spurious error return codes in enable_mac80211()
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 22 Jan 2010 00:58:52 +0000 (00:58 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 22 Jan 2010 00:58:52 +0000 (00:58 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19265 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/files/lib/wifi/mac80211.sh

index ca38805..cd03b30 100644 (file)
@@ -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"
This page took 0.030087 seconds and 4 git commands to generate.