diff options
| author | Roshan Pius <rpius@google.com> | 2019-02-14 07:57:10 -0800 |
|---|---|---|
| committer | Roshan Pius <rpius@google.com> | 2019-02-26 07:09:52 -0800 |
| commit | 99dab386d38cf39fe2352c1743a66aa26bf6983d (patch) | |
| tree | 19347a1021b6b8db990beb3f7744187b9cf7f0e8 /identity/support/src/cppbor_parse.cpp | |
| parent | 8b41848ecd08b83b93e197e314a727444315e9a8 (diff) | |
wifi(implementation): Move set/getMacaddress to a util class
This is just a refactor to move the setMacAddress & getFactoryMacAddress
methods to a util class within the HAL. This can be then reused in AP
iface for mac randomization of SoftAp.
This also fixes a bug in the existing setMacAddress() method, the
current method always sets wlan0 up/down. STA interface could be wlan1
on some devices.
Bug: 78353419
Test: ./hardware/interfaces/wifi/1.3/default/tests/runtests.sh
Test: Manually verified STA MAC randomization still works.
Change-Id: I0bb8154f7e6dcae37c977454423c8c299762260e
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions
