diff options
Diffstat (limited to 'modules/luci-mod-status/htdocs')
-rw-r--r-- | modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js index 2ce22d5838..abd21ea3d9 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js @@ -289,7 +289,10 @@ return view.extend({ } } - if (res.vht_operation != null) { + /* if channel_width <= 40, refer to HT (above) for actual channel width, + * as vht_operation.channel_width == 40 really only means that the used + * bandwidth is <= 40 and could be 20 Mhz as well */ + if (res.vht_operation != null && res.vht_operation.channel_width > 40) { center_channels[0] = res.vht_operation.center_freq_1; if (res.vht_operation.channel_width == 80) { chan_width = 8; |