diff options
author | Michael Plass <mplass@google.com> | 2020-05-11 15:59:06 -0700 |
---|---|---|
committer | Michael Plass <mplass@google.com> | 2020-05-11 15:59:06 -0700 |
commit | b491ffe759fd5500b7d24a253d7dbf9e41a6e871 (patch) | |
tree | 1bea9f7e7722efe7fbbca869ca85596948ca47f0 /libs | |
parent | a86c9944ed5ee4a4c3637cf7aab229d6230aac77 (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
Diffstat (limited to 'libs')
0 files changed, 0 insertions, 0 deletions