diff --git a/files/usr/lib/lua/aredn/hardware.lua b/files/usr/lib/lua/aredn/hardware.lua index d2d614a3..08f34289 100644 --- a/files/usr/lib/lua/aredn/hardware.lua +++ b/files/usr/lib/lua/aredn/hardware.lua @@ -260,7 +260,7 @@ function hardware.has_usb() end function hardware.has_wifi() - if nixio.fs.stat("/sys/kernel/debug/ieee80211") then + if nixio.fs.stat("/sys/kernel/debug/ieee80211/phy0") then return true else return false