Skip to content

Commit

Permalink
luci-mod-network: add 11be support - revert hwval null check for 5g/2…
Browse files Browse the repository at this point in the history
…g mode

remove misplaced ax/be checks

Signed-off-by: Rudy Andram <[email protected]>
  • Loading branch information
rmandrad authored and systemcrash committed Oct 29, 2024
1 parent ecd1004 commit 2becdcc
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -521,9 +521,7 @@ var CBIWifiFrequencyValue = form.Value.extend({
if (hwval != null) {
this.useBandOption = false;

if (/be/.test(mode.value))
band.value = '6g';
else if (/ax/.test(mode.value))
if (/a/.test(hwval))
band.value = '5g';
else
band.value = '2g';
Expand Down

0 comments on commit 2becdcc

Please sign in to comment.