diff options
| author | Kevin F. Haggerty <haggertk@lineageos.org> | 2020-06-01 20:43:03 -0600 |
|---|---|---|
| committer | Kevin F. Haggerty <haggertk@lineageos.org> | 2020-06-01 20:43:03 -0600 |
| commit | 50186f106d3e3e0c45a6312b94a8afffb42a8aa3 (patch) | |
| tree | 127d50012cac378b72246c0ddbf6f3ed75982fc8 /wifi | |
| parent | fffeb14cdb594c606cbcef9c5a08682cca6a76a7 (diff) | |
| parent | e8f2e74e2e0f0c94ea6ad272588420820faa88dc (diff) | |
| download | android_hardware_interfaces-50186f106d3e3e0c45a6312b94a8afffb42a8aa3.tar.gz android_hardware_interfaces-50186f106d3e3e0c45a6312b94a8afffb42a8aa3.tar.bz2 android_hardware_interfaces-50186f106d3e3e0c45a6312b94a8afffb42a8aa3.zip | |
Merge tag 'android-10.0.0_r37' into staging/lineage-17.1_merge-android-10.0.0_r37
Android 10.0.0 Release 37 (QQ3A.200605.001)
* tag 'android-10.0.0_r37':
RESTRICT AUTOMERGE Relax timeout for all operations
Don't send brightness to car service inside Emulator
Camera: Fix possible ExifUtils heap corruption
wifi(implementation): Clear wifi event callback objects while stopping
VTS: only assert that IGnssDebug present for non-automotive
Change-Id: I8f1ba019d173d22990ca23f1819347280e749744
Diffstat (limited to 'wifi')
| -rw-r--r-- | wifi/1.3/default/wifi.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wifi/1.3/default/wifi.cpp b/wifi/1.3/default/wifi.cpp index 2f21819db..4229d352d 100644 --- a/wifi/1.3/default/wifi.cpp +++ b/wifi/1.3/default/wifi.cpp @@ -124,6 +124,8 @@ WifiStatus Wifi::startInternal() { } } LOG(ERROR) << "Wifi HAL start failed"; + // Clear the event callback objects since the HAL start failed. + event_cb_handler_.invalidate(); } return wifi_status; } @@ -158,6 +160,8 @@ WifiStatus Wifi::stopInternal( } LOG(ERROR) << "Wifi HAL stop failed"; } + // Clear the event callback objects since the HAL is now stopped. + event_cb_handler_.invalidate(); return wifi_status; } |
