summaryrefslogtreecommitdiff
path: root/package/mac80211
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>2009-12-22 21:45:08 +0000
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>2009-12-22 21:45:08 +0000
commitddba20a82910080e9cae58d81c2c8a16307dbf1f (patch)
treef442e43b727851fb9ab1d76dd1777ffa2100af53 /package/mac80211
parentaf228d9eab017dbb738903ffa100d9dadd1d9625 (diff)
downloadmtk-20170518-ddba20a82910080e9cae58d81c2c8a16307dbf1f.zip
mtk-20170518-ddba20a82910080e9cae58d81c2c8a16307dbf1f.tar.gz
mtk-20170518-ddba20a82910080e9cae58d81c2c8a16307dbf1f.tar.bz2
mac80211: Don't echo missing physical device errors to wireless config file
SVN-Revision: 18896
Diffstat (limited to 'package/mac80211')
-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 6d144a9..adfd948 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