diff options
author | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2009-12-22 21:45:08 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2009-12-22 21:45:08 +0000 |
commit | ddba20a82910080e9cae58d81c2c8a16307dbf1f (patch) | |
tree | f442e43b727851fb9ab1d76dd1777ffa2100af53 /package/mac80211/files/lib/wifi/mac80211.sh | |
parent | af228d9eab017dbb738903ffa100d9dadd1d9625 (diff) | |
download | master-31e0f0ae-ddba20a82910080e9cae58d81c2c8a16307dbf1f.tar.gz master-31e0f0ae-ddba20a82910080e9cae58d81c2c8a16307dbf1f.tar.bz2 master-31e0f0ae-ddba20a82910080e9cae58d81c2c8a16307dbf1f.zip |
mac80211: Don't echo missing physical device errors to wireless config file
SVN-Revision: 18896
Diffstat (limited to 'package/mac80211/files/lib/wifi/mac80211.sh')
-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 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 |