1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 17:55:55 +02:00

[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
This commit is contained in:
acinonyx 2009-12-22 21:45:08 +00:00
parent 0bc848a5da
commit 975e20ea80

View File

@ -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