Skip to content

Commit

Permalink
fix(web2): Fixed network radio mode value passing in the old networki…
Browse files Browse the repository at this point in the history
…ng. [backport release-5.4.0] (#5028)

fix(web2): Fixed network radio mode value passing in the old networking. (#5026)

Fixed network radio mode value passing in the old networking.

(cherry picked from commit 3488f31)

Co-authored-by: Salvatore Coppola <[email protected]>
github-actions[bot] and salvatore-coppola authored Nov 28, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent fd4615d commit cd573c6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1734,7 +1734,8 @@ private GwtWifiConfig getGwtWifiConfig() {
private GwtWifiRadioMode radioValueToRadioMode(String radioValue) {

for (GwtWifiRadioMode mode : GwtWifiRadioMode.values()) {
if (mode.name().equals(radioValue)) {
String modeName = this.isNet2 ? mode.name() : MessageUtils.get(mode.name());
if (modeName.equals(radioValue)) {
return mode;
}
}

0 comments on commit cd573c6

Please sign in to comment.