Skip to content
Commit d4092b15 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: default avatarJo-Philipp Wich <jo@mein.io>
parent 21995f0c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment