Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8d4c51e authored by Sreeram Ramachandran's avatar Sreeram Ramachandran Committed by Android (Google) Code Review
Browse files

Merge "Fix channel set option in wifi batch scan command." into klp-dev

parents 61f0f9ad 268f3295
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -268,7 +268,11 @@ public class WifiNative {
        }
        if (settings.channelSet != null && !settings.channelSet.isEmpty()) {
            cmd += " CHANNEL=<";
            for (String channel : settings.channelSet) cmd += " " + channel;
            int i = 0;
            for (String channel : settings.channelSet) {
                cmd += (i > 0 ? "," : "") + channel;
                ++i;
            }
            cmd += ">";
        }
        if (settings.maxApForDistance != BatchedScanSettings.UNSPECIFIED) {