diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-01-22 00:58:52 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-01-22 00:58:52 +0000 |
commit | 946291c8d56c01d634c0f032a8fc52b2bf8febf5 (patch) | |
tree | 5cf804177157bac27f675c6961dce88a5ee127f7 /package | |
parent | eb1190bb29afdb16ddb57c147229e19ceb7d52a7 (diff) | |
download | mtk-20170518-946291c8d56c01d634c0f032a8fc52b2bf8febf5.zip mtk-20170518-946291c8d56c01d634c0f032a8fc52b2bf8febf5.tar.gz mtk-20170518-946291c8d56c01d634c0f032a8fc52b2bf8febf5.tar.bz2 |
mac80211: fix spurious error return codes in enable_mac80211()
SVN-Revision: 19265
Diffstat (limited to 'package')
-rw-r--r-- | package/mac80211/files/lib/wifi/mac80211.sh | 2 |
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 ca38805..cd03b30 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" |