luci/modules/luci-base/htdocs
Jo-Philipp Wich d4092b15ce luci-base: network.js: ignore wireless ifname patterns on retrieving devices
Only treat the given identifier as Linux netdev name if we can find a
corresponding entry in the device info cache and do not consider strings
starting with "wlan", "ath" or "wl" to be existing devices.

This fixes incorrectly adding wireless sections as ifnames to network
interfaces when the wifi-iface section name begins with one of the
`iface_patterns_wireless` patterns.

Fixes: #5069
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-11-10 11:57:43 +01:00
..
cgi-bin treewide: minor fixes to typos, whitespace, and indentation 2021-01-20 12:36:13 +02:00
luci-static/resources luci-base: network.js: ignore wireless ifname patterns on retrieving devices 2021-11-10 11:57:43 +01:00