From: Vasilis Tsiligiannis Date: Tue, 22 Dec 2009 21:45:08 +0000 (+0000) Subject: mac80211: Don't echo missing physical device errors to wireless config file X-Git-Tag: reboot~21596 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ddba20a82910080e9cae58d81c2c8a16307dbf1f;p=openwrt%2Fopenwrt.git mac80211: Don't echo missing physical device errors to wireless config file SVN-Revision: 18896 --- diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 6d144a95c9..adfd948db5 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -281,7 +281,7 @@ enable_mac80211() { check_device() { config_get phy "$1" phy [ -z "$phy" ] && { - find_mac80211_phy "$1" || return 0 + find_mac80211_phy "$1" >/dev/null || return 0 config_get phy "$1" phy } [ "$phy" = "$dev" ] && found=1