gatt: Require medium security for ATT socket over BR/EDR
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 3 Jul 2019 15:39:20 +0000 (18:39 +0300)
committerhimanshu <h.himanshu@samsung.com>
Tue, 11 Feb 2020 08:57:47 +0000 (14:27 +0530)
commitc5bfb64d0a11d24d6269ae0f0001f3f51f8bd190
treebc8b3d6f915c1f7493d2a39b6756bfadf80e3c83
parentc7ca69ec0d485f316d19e55ce8dd075e81f2b62b
gatt: Require medium security for ATT socket over BR/EDR

Encryption is required according to the spec:

  BLUETOOTH CORE SPECIFICATION Version 5.1 | Vol 3, Part G page 2397:

  5.1.2 BR/EDR channel requirements

  The channel shall be encrypted. The Key_Type shall be either an
  Unauthenticated Combination Key or an Authenticated Combination Key.

Change-Id: I1cf0647421e2aeb7db0136758a33d626192c56c7
Signed-off-by: himanshu <h.himanshu@samsung.com>
src/gatt-database.c