Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3edd4113 authored by Henri Chataing's avatar Henri Chataing Committed by Thomas Girardier
Browse files

RootCanal: Fix behaviour of Read on closed Socket

Reading from a closed socket should be returning 0, instead
it returns EBADHDL as the file descriptor is replaced by -1
after closing. This causes aborts down the line when RootCanal
fulfills a scheduled Read from a closed HCI socket.

Bug: 245578454
Test: Manual
Ignore-AOSP-First: cherry-pick from AOSP
Change-Id: I637078285de26c48a887b4956397b66df2b5c7bd
Merged-In: I637078285de26c48a887b4956397b66df2b5c7bd
parent 99c851a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment