Don't hardcode bit/name pairs, instead iterate over what's known to the library and use that instead. This automatically adds the missing ad hwmode and HE80+80 htmode - and any future ones. The only difference in the output is the order of the 'hwmodes' array. Signed-off-by: Andre Heider <a.heider@gmail.com> |
||
---|---|---|
.. | ||
luci-lib-base | ||
luci-lib-httpclient | ||
luci-lib-httpprotoutils | ||
luci-lib-ip | ||
luci-lib-ipkg | ||
luci-lib-iptparser | ||
luci-lib-json | ||
luci-lib-jsonc | ||
luci-lib-nixio | ||
luci-lib-px5g | ||
luci-lib-rpcc | ||
rpcd-mod-luci | ||
rpcd-mod-rad2-enc | ||
rpcd-mod-rrdns |