luci-base: network.js: fix getDevices()
authorJo-Philipp Wich <jo@mein.io>
Wed, 13 Nov 2019 17:30:22 +0000 (18:30 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 13 Nov 2019 17:37:11 +0000 (18:37 +0100)
commitebd354d4205bada31c7c4c6a3ccf801ea30dfeae
tree99bba949e35b0410cf4a4217586c4d48c6a00f3d
parent9d6b01974eddedd728a8086bfa75c5e5bc554db4
luci-base: network.js: fix getDevices()

 - Don't filter virtual interfaces
 - Skip duplicate wireless devices

Fixes: #3304
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 304dd37e3fb44843466c38b883fa91b463b5cd1c)
modules/luci-base/htdocs/luci-static/resources/network.js