OSDN Git Service

am 2a5cec82: Bluetooth: Update security for HID Devices to Encrypt on BT On.
[android-x86/system-bt.git] / btif / src / btif_hh.c
index 6dfc68b..1370264 100644 (file)
@@ -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 */