summaryrefslogtreecommitdiff
path: root/package/mac80211/files/lib/wifi
diff options
context:
space:
mode:
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-22 21:45:08 +0000
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-22 21:45:08 +0000
commit975e20ea80f4894a3b6611cddf6298e2a291b915 (patch)
treeb7e554c981083b9c3a50e3701b296f1e2f706029 /package/mac80211/files/lib/wifi
parent0bc848a5da9a8b1cbb5e2760eaec0dedaa70c713 (diff)
[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/lib/wifi')
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh2
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