luci-mod-network: don't offer unsupported wireless hwmodes
authorAndre Heider <a.heider@gmail.com>
Sat, 26 Nov 2022 12:30:26 +0000 (13:30 +0100)
committerAndre Heider <a.heider@gmail.com>
Mon, 23 Jan 2023 13:51:28 +0000 (14:51 +0100)
commiteead21c5abff36839d5b9922eb06b61ffb44d77c
tree06600986703b38f4b64b4ffb0ee5138127e67dd2
parent05f2901ffb4e4972999d9587a03e532863320f22
luci-mod-network: don't offer unsupported wireless hwmodes

This prevents offering e.g. 'Legacy' on ac/n only radios or
ax if hostapd wasn't compiled with ax support.

Signed-off-by: Andre Heider <a.heider@gmail.com>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js