diff options
author | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2009-12-22 21:45:08 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2009-12-22 21:45:08 +0000 |
commit | 75331950d0ee348e31c9d7924aa8ba6507ea4250 (patch) | |
tree | b7e554c981083b9c3a50e3701b296f1e2f706029 /package/mac80211/files | |
parent | b49d4c7f2b1c09b704e2c4f55f454ae03848f446 (diff) | |
download | upstream-75331950d0ee348e31c9d7924aa8ba6507ea4250.tar.gz upstream-75331950d0ee348e31c9d7924aa8ba6507ea4250.tar.bz2 upstream-75331950d0ee348e31c9d7924aa8ba6507ea4250.zip |
[packages] mac80211: Don't echo missing physical device errors to wireless config file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18896 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/files')
-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 |