Skip to content

Commit

Permalink
fix: Added a check to not display the automatic option for the old ne…
Browse files Browse the repository at this point in the history
…tworking [backport release-5.5.0] (#5297)

fix: Added a check to not display the automatic option for the old networking (#5294)

Signed-off-by: MMaiero <[email protected]>
(cherry picked from commit e70c29e)

Co-authored-by: Matteo Maiero <[email protected]>
  • Loading branch information
github-actions[bot] and MMaiero authored Jun 27, 2024
1 parent 01b2ea6 commit d4969a7
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1817,7 +1817,10 @@ private void updateChannelListValues(List<GwtWifiChannelFrequency> freqChannels)

this.channelList.clear();

addAutomaticChannel(freqChannels);
if (isNet2) {
addAutomaticChannel(freqChannels);
}

freqChannels.stream().forEach(this::addItemChannelList);

if (this.activeConfig != null && this.activeConfig.getChannels() != null
Expand Down

0 comments on commit d4969a7

Please sign in to comment.