Enforce Authentication for incoming HID connection
Enforce Authentication in addition to encryption for all incoming
HID connections.
Bug 17887668
Change-Id: Ib0d6cd6d8e793823c541a1b4468dcce89f297181
(cherry picked from commit 6d6502909c1dd1766db1fea2cb638866e137a7bf)
diff --git a/btif/src/btif_hh.c b/btif/src/btif_hh.c
index 8336f97..99b0840 100644
--- a/btif/src/btif_hh.c
+++ b/btif/src/btif_hh.c
@@ -1711,7 +1711,7 @@
if (b_enable)
{
/* Enable and register with BTA-HH */
- BTA_HhEnable(BTA_SEC_ENCRYPT, bte_hh_evt);
+ BTA_HhEnable(BTUI_HH_SECURITY, bte_hh_evt);
}
else {
/* Disable HH */