mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
wifi(implementation): Print out the cb object on failure
This should help us figure out if there are multiple callback objects in wifi_chip when we see the IPC storm from onDebugRingBufferDataAvailable(). Bug: 36599054 Test: ACTS wifi tests. Change-Id: I8c67032c59ecdd45824e131b59d890ce6c94fe25
This commit is contained in:
@@ -855,7 +855,8 @@ WifiStatus WifiChip::registerDebugRingBufferCallback() {
|
||||
for (const auto& callback : shared_ptr_this->getEventCallbacks()) {
|
||||
if (!callback->onDebugRingBufferDataAvailable(hidl_status, data).isOk()) {
|
||||
LOG(ERROR) << "Failed to invoke onDebugRingBufferDataAvailable"
|
||||
<< " callback";
|
||||
<< " callback on: " << toString(callback);
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user