luci-mod-status: handle HE channel width for channel_analysis
Handle HE channel width for channel analysis status page and correctly draw local interface band width. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
54f5b171bc
commit
307e385ba1
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ return view.extend({
|
||||||
|
|
||||||
if (chan_analysis.offset_tbl[local_wifi.channel] != null && local_wifi.center_chan1) {
|
if (chan_analysis.offset_tbl[local_wifi.channel] != null && local_wifi.center_chan1) {
|
||||||
var center_channels = [local_wifi.center_chan1],
|
var center_channels = [local_wifi.center_chan1],
|
||||||
chan_width_text = local_wifi.htmode.replace(/(V)*HT/,''),
|
chan_width_text = local_wifi.htmode.replace(/(V)*H[TE]/,''), /* Handle HT VHT HE */
|
||||||
chan_width = parseInt(chan_width_text)/10;
|
chan_width = parseInt(chan_width_text)/10;
|
||||||
|
|
||||||
if (local_wifi.center_chan2) {
|
if (local_wifi.center_chan2) {
|
||||||
|
|
Loading…
Reference in a new issue