luci-mod-network: properly handle wireless devices when adding interfaces
authorJo-Philipp Wich <jo@mein.io>
Sat, 12 Dec 2020 11:15:33 +0000 (12:15 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 18 Jan 2021 15:58:56 +0000 (16:58 +0100)
commit6ba9740b61a3ca89355ae1b08f0456617e0ce3c0
tree34765d0518fa7e0a29f13f1ddb636ff923c6bb8e
parent0386a295d778ec4cf70c68987043decc217b60f1
luci-mod-network: properly handle wireless devices when adding interfaces

Wireless device names must not be added as list/option ifname, but the
network must be backreferenced in config wifi-iface instead in these
cases.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 7b5b7fbcd63af14658ad234cd39c076a823e4629)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js