Merge "wifi: Support setBssid for tethered mode hotspot" into rvc-dev
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user