commit | 78f814e8045855199960c03340f5125da9904d8a | [log] [tgz] |
---|---|---|
author | Michael Plass <mplass@google.com> | Mon May 11 15:59:06 2020 -0700 |
committer | Michael Plass <mplass@google.com> | Mon May 11 15:59:06 2020 -0700 |
tree | 4973e8c18449acd1acac4fac84065c9fd4765322 | |
parent | b66d6f8b73a78957603bfdaa4d2b39b94ff64dd4 [diff] |
Avoid changing wifi mac address when device does not support randomization Devices without a vendor hal do not provide a way for the wifi framework to get the factory mac address, so switching from a random mac to the configured mac requires a reboot. So if mac randomization has not been enabled in the device config, don't attempt to change the mac. Bug: 146507767 Test: atest ClientModeImplTest Change-Id: I53212dc05813001d0ccabeeb4cd491dec06929a4