Skip to content

Commit

Permalink
Fixed network radio mode value passing in the old networking.
Browse files Browse the repository at this point in the history
  • Loading branch information
salvatore-coppola committed Nov 27, 2023
1 parent 14e1b7c commit 5f704ab
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 5f704ab

Please sign in to comment.