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

Skip to content
Commit f1f96c61 authored by Dorin Drimus's avatar Dorin Drimus Committed by Cherrypicker Worker
Browse files

Fix HOGP issue when encryption failed

Problem:
When encryption fails with status=0x000e, reason=0x0012, this will do cancel open and memset for the control block of HOGP. "bta_hh_gattc_cback" will not be called when reconnected again and this will make the key invalid after reconnection.

Solution:
Don't call "bta_hh_le_api_disc_act" when this reason happened

Ignore-AOSP-First: backport cherry-pick from aosp Ie3f9b58288670eee6280838ea533aea619a5d7df

Change-Id: Ie3f9b58288670eee6280838ea533aea619a5d7df
Merged-In: Ie3f9b58288670eee6280838ea533aea619a5d7df

Test: Funai TV remote control reconnect OK
Bug: 211528896
Change-Id: Id39d3f96c8bea69ffa205f2c7ed1175cd3d624c8
(cherry picked from commit 9bb868b391f10cdffaa814cac7f571fd44beb946)
Merged-In: Id39d3f96c8bea69ffa205f2c7ed1175cd3d624c8
parent 34dd8d7d
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