Merge "wifi: Support setBssid for tethered mode hotspot" into rvc-dev am: d6f3212620 am: 04e593c4ba

Change-Id: I3415b2dfbb211255fda56f60baffc8f981481dfe
This commit is contained in:
Les Lee
2020-03-26 00:54:52 +00:00
committed by Automerger Merge Worker

View File

@@ -516,9 +516,6 @@ public final class SoftApConfiguration implements Parcelable {
public WifiConfiguration toWifiConfiguration() {
WifiConfiguration wifiConfig = new WifiConfiguration();
wifiConfig.SSID = mSsid;
if (mBssid != null) {
wifiConfig.BSSID = mBssid.toString();
}
wifiConfig.preSharedKey = mPassphrase;
wifiConfig.hiddenSSID = mHiddenSsid;
wifiConfig.apChannel = mChannel;
@@ -662,8 +659,6 @@ public final class SoftApConfiguration implements Parcelable {
/**
* Specifies a BSSID for the AP.
* <p>
* Only supported when configuring a local-only hotspot.
* <p>
* <li>If not set, defaults to null.</li>
* @param bssid BSSID, or null to have the BSSID chosen by the framework. The caller is
* responsible for avoiding collisions.