mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +08:00
mac80211: Don't echo missing physical device errors to wireless config file
SVN-Revision: 18896
This commit is contained in:
parent
af228d9eab
commit
ddba20a829
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user