gluon-core: lua: wireless: use libiwinfo-lua for find_phy() (#3239)
find_phy() did not match OpenWrt's logic for PHY names anymore, and
could not handle PHYs that don't match the 'phyX' naming scheme. Instead
of trying to add more complex logic to our own code, simply do what
OpenWrt does and use iwinfo to resolve UCI sections to PHY names.
(cherry picked from commit 29e281f759cf019d323fc0ae8c8202ad2476ce9f)
Co-authored-by:
Matthias Schiffer <mschiffer@universe-factory.net>
Please register or sign in to comment