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

Skip to content
Commit f5718a49 authored by Partha Sarathi Saha's avatar Partha Sarathi Saha Committed by Chris Manton
Browse files

Fix local disconnect reason code

For local disconnect of device, BTA_GATTC_CLOSE_EVT was sent
with reason code 0 rather than GATT_CONN_TERMINATE_LOCAL_HOST.

Fixed the issue by sending reason code
GATT_CONN_TERMINATE_LOCAL_HOST for local disconnect case.

Test: Verified local disconnect reason code is sent as
      GATT_CONN_TERMINATE_LOCAL_HOST and not 0
Change-Id: I964dc7480dae4a0840450652992eaf48ca439e2f
parent 456916cd
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