gluon-core: Fixed PHY detection for radios address by its PCIe address
This commit is contained in:
parent
13c61d9394
commit
48c66b5888
@ -138,6 +138,10 @@ local function find_phy_by_path(path)
|
||||
for phy in fs.glob('/sys/devices/' .. path .. '/ieee80211/phy*') do
|
||||
return phy:match('([^/]+)$')
|
||||
end
|
||||
|
||||
for phy in fs.glob('/sys/devices/platform/' .. path .. '/ieee80211/phy*') do
|
||||
return phy:match('([^/]+)$')
|
||||
end
|
||||
end
|
||||
|
||||
local function find_phy_by_macaddr(macaddr)
|
||||
|
Loading…
Reference in New Issue
Block a user