From 64d315ada53d9b90bc2f90c81d00ce4bae446678 Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Sun, 13 Mar 2022 07:48:10 -0700 Subject: [PATCH] Ignore 'iw phy' command if no phy device (#287) --- files/www/cgi-bin/supporttool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/www/cgi-bin/supporttool b/files/www/cgi-bin/supporttool index efce8a9e..94ed8b7d 100755 --- a/files/www/cgi-bin/supporttool +++ b/files/www/cgi-bin/supporttool @@ -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",