Merge "Wifi: Fix rototests for wifi tethering"
This commit is contained in:
committed by
Android (Google) Code Review
commit
8a9ad06570
@@ -105,8 +105,8 @@ public class WifiTetherApBandPreferenceController extends WifiTetherBasePreferen
|
||||
// 2: no 5 GHZ support means we can't have BAND_5GHZ - default to 2GHZ
|
||||
// 3: With Dual mode support we can't have BAND_5GHZ only - include 2GHZ
|
||||
if (!isDualMode
|
||||
&& ((band & (SoftApConfiguration.BAND_5GHZ
|
||||
| SoftApConfiguration.BAND_2GHZ)) != 0)) {
|
||||
&& ((band & SoftApConfiguration.BAND_5GHZ) != 0)
|
||||
&& ((band & SoftApConfiguration.BAND_2GHZ) != 0)) {
|
||||
return SoftApConfiguration.BAND_5GHZ;
|
||||
} else if (!is5GhzBandSupported() && SoftApConfiguration.BAND_5GHZ == band) {
|
||||
return SoftApConfiguration.BAND_2GHZ;
|
||||
|
Reference in New Issue
Block a user