Ignore 'iw phy' command if no phy device (#287)

This commit is contained in:
Tim Wilkinson 2022-03-13 07:48:10 -07:00 committed by GitHub
parent d9c2bb1bee
commit 64d315ada5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ local cmds = {
"ip rule list",
"iwinfo",
"iwinfo " .. wifiif .. " assoclist",
"iw phy " .. phy .. " info",
phy and "iw phy " .. phy .. " info" or "",
"iw dev " .. wifiif .. " info",
"iw dev " .. wifiif .. " scan",
"iw dev " .. wifiif .. " station dump",