summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxshu <xshu@google.com>2019-09-25 15:36:17 -0700
committerOscar Shu <xshu@google.com>2019-10-01 17:22:00 +0000
commitd6ecd26cff564827d5a1ec4ccef772ce40ad4021 (patch)
tree5243dcebc65412adcb22b8f877becb9e4f845423
parent7957387b5d459386191cf45ca90e45446ed13f93 (diff)
Don't expose MAC address in IPv6 address
Bug: 137729796 Test: unit tests Change-Id: I73a6a34d14671939515311bb916a58dc9f4e1b89 (cherry picked from commit d5736def994e8c75383789ac0fc072e48e4190a3)
-rw-r--r--service/java/com/android/server/wifi/ClientModeImpl.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/ClientModeImpl.java b/service/java/com/android/server/wifi/ClientModeImpl.java
index b80371285..66f138097 100644
--- a/service/java/com/android/server/wifi/ClientModeImpl.java
+++ b/service/java/com/android/server/wifi/ClientModeImpl.java
@@ -5361,7 +5361,6 @@ public class ClientModeImpl extends StateMachine {
.withApfCapabilities(mWifiNative.getApfCapabilities(mInterfaceName))
.withNetwork(getCurrentNetwork())
.withDisplayName(currentConfig.SSID)
- .withRandomMacAddress()
.build();
} else {
StaticIpConfiguration staticIpConfig = currentConfig.getStaticIpConfiguration();