luci-mod-network: fix legacy_rates option dependency
authorJo-Philipp Wich <jo@mein.io>
Mon, 9 Aug 2021 17:41:30 +0000 (19:41 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 9 Aug 2021 17:44:22 +0000 (19:44 +0200)
commit119701cce302b6475e2fe900d2fff6c5dad16416
tree113ba8982294358055e17d42962599a2579dce6d
parent5b654053375064c3239621f003501fcfee071f0d
luci-mod-network: fix legacy_rates option dependency

The recently introduced band option support changed the internal frequency
selector choice values, breaking the legacy rates option dependency.

Fixes: #5234
Fixes: 0829d31290 ("luci-mod-network: support newer wireless.wifi-device.band option")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit fd2e755b6f30d80ffdf15536669fdb739212ac96)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js