From 76f645ea6f5cd22e464dcbdb1e73ecb50c5ea87c Mon Sep 17 00:00:00 2001 From: Hemant Gupta Date: Thu, 29 Aug 2013 15:46:49 +0530 Subject: [PATCH] Bluetooth: Update security for HID Devices to Encrypt on BT On. - do not merge This patch updates HID Devices security mask to BTA_SEC_ENCRYPT from BTA_SEC_NONE. Without this change it was observed that on BT Reset, authentication and encryption were not initiated by DUT for incoming HID Control L2CAP Connection Request from remote HID Keyboard device. Change-Id: I484fbae1294fde386bd7959467214f9968e381e9 --- btif/src/btif_hh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btif/src/btif_hh.c b/btif/src/btif_hh.c index 6dfc68b92..1370264cc 100644 --- a/btif/src/btif_hh.c +++ b/btif/src/btif_hh.c @@ -1713,7 +1713,7 @@ bt_status_t btif_hh_execute_service(BOOLEAN b_enable) if (b_enable) { /* Enable and register with BTA-HH */ - BTA_HhEnable(BTA_SEC_NONE, bte_hh_evt); + BTA_HhEnable(BTA_SEC_ENCRYPT, bte_hh_evt); } else { /* Disable HH */ -- 2.11.0