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

Commit 08fa36a7 authored by Roshan Pius's avatar Roshan Pius Committed by Android (Google) Code Review
Browse files

Merge "WifiScanner: Partial revert of ag/12269583"

parents b7d6998e bd3e31c5
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -193,8 +193,6 @@ public class WifiScanner {
     * @hide
     */
    public static boolean isFullBandScan(@WifiBand int bandScanned, boolean excludeDfs) {
        // 5GHz DFS channel is part of 5GHz, mark 5GHz scanned as well.
        if ((bandScanned & WIFI_BAND_5_GHZ_DFS_ONLY) != 0) bandScanned |= WIFI_BAND_5_GHZ;
        return (bandScanned | WIFI_BAND_6_GHZ | WIFI_BAND_60_GHZ
                | (excludeDfs ? WIFI_BAND_5_GHZ_DFS_ONLY : 0))
                == WIFI_BAND_ALL;