Merge "wifi: Support setBssid for tethered mode hotspot" into rvc-dev am: d6f3212620
Change-Id: I8761dbd942e1a4b0ffbde70635be05b7f26c6028
This commit is contained in:
@@ -516,9 +516,6 @@ public final class SoftApConfiguration implements Parcelable {
|
|||||||
public WifiConfiguration toWifiConfiguration() {
|
public WifiConfiguration toWifiConfiguration() {
|
||||||
WifiConfiguration wifiConfig = new WifiConfiguration();
|
WifiConfiguration wifiConfig = new WifiConfiguration();
|
||||||
wifiConfig.SSID = mSsid;
|
wifiConfig.SSID = mSsid;
|
||||||
if (mBssid != null) {
|
|
||||||
wifiConfig.BSSID = mBssid.toString();
|
|
||||||
}
|
|
||||||
wifiConfig.preSharedKey = mPassphrase;
|
wifiConfig.preSharedKey = mPassphrase;
|
||||||
wifiConfig.hiddenSSID = mHiddenSsid;
|
wifiConfig.hiddenSSID = mHiddenSsid;
|
||||||
wifiConfig.apChannel = mChannel;
|
wifiConfig.apChannel = mChannel;
|
||||||
@@ -662,8 +659,6 @@ public final class SoftApConfiguration implements Parcelable {
|
|||||||
/**
|
/**
|
||||||
* Specifies a BSSID for the AP.
|
* Specifies a BSSID for the AP.
|
||||||
* <p>
|
* <p>
|
||||||
* Only supported when configuring a local-only hotspot.
|
|
||||||
* <p>
|
|
||||||
* <li>If not set, defaults to null.</li>
|
* <li>If not set, defaults to null.</li>
|
||||||
* @param bssid BSSID, or null to have the BSSID chosen by the framework. The caller is
|
* @param bssid BSSID, or null to have the BSSID chosen by the framework. The caller is
|
||||||
* responsible for avoiding collisions.
|
* responsible for avoiding collisions.
|
||||||
|
|||||||
Reference in New Issue
Block a user