summaryrefslogtreecommitdiff
path: root/light/aidl/default/main.cpp
diff options
context:
space:
mode:
authorKyounghan Lee <kyounghan.lee@samsung.com>2020-01-29 14:56:15 +0900
committerRoshan Pius <rpius@google.com>2020-01-29 11:09:41 -0800
commit4c1b6780b4fd2111a23ee47e9aab0a6ec7aa8b82 (patch)
tree260c3abf5719ac00fb404efc9457e2767bd73921 /light/aidl/default/main.cpp
parent43f65e0f60a552d867b6aace75aeee58c0e4f08d (diff)
wifi(implementation): Clear wifi event callback objects while stopping
This fixes a deadlock between WifiNative and HalDeviceManager because it removes about 30 times callbacks of IWifiEventCallback#onFailure() or onStop(). Such excessive callbacks within a short period tend to make high probabilities of the deadlock. Note: This is a side effect of how the framework is registering multiple callbacks. But, unfortunately there is no HAL API to unregister callback. So, this is somewhat of a workaround fix. Bug: 144137870 Test: Verified that the HAL no longer accumulates callbacks from framework. Test: Device boots up and connects to wifi networks. Change-Id: I441e2f815a0a49c3936615f06a65a6ed5366a628 Merged-In: I441e2f815a0a49c3936615f06a65a6ed5366a628
Diffstat (limited to 'light/aidl/default/main.cpp')
0 files changed, 0 insertions, 0 deletions