diff options
author | Ahmed ElArabawy <arabawy@google.com> | 2020-04-20 16:28:49 +0800 |
---|---|---|
committer | Ahmed ElArabawy <arabawy@google.com> | 2020-04-30 15:07:58 -0700 |
commit | 3ee519be3a3da1d9b341cbeeb400ceeaeb309aae (patch) | |
tree | e53ec40b1e6819b43176ad80c7938658407e432e /camera/common/1.0/default/CameraModule.cpp | |
parent | 7a21c53268b7bee5326f5b8fa70dd6cb714d1426 (diff) |
Wifi: Optionally avoid interface down/up when doing setMacAddress
Some vendors implementation will reset wifi chip when doing interface
down.
Accordingly, We need to avoid the interface down/up when doing
setMacAddress to avoid loss of sync between framework and firmware.
This commit uses a BOARD_WIFI_AVOID_IFACE_RESET_MAC_CHANGE macro to
check if it is needed to avoid interface down/up at setMacAddress.
Bug: 153771961
Test: VTS Test
Test: atest VtsHalWifiV1_2TargetTest
Change-Id: I971764f1c272ebfd245959974fa0d1b10ba7c39b
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions