summaryrefslogtreecommitdiff
path: root/android/gatt.c
diff options
context:
space:
mode:
authorMariusz Skamra <mariusz.skamra@tieto.com>2015-05-11 14:49:45 +0200
committerSzymon Janc <szymon.janc@tieto.com>2015-05-19 16:42:43 +0200
commitb576fa4d336386d12e7e460b6530db9092d03d69 (patch)
tree3b23311dbecaf8f5aba474ba74504ebdae358e63 /android/gatt.c
parentc895e5ae5b40bdad2333eb4e025f9d7f8f87902c (diff)
downloadbluez-b576fa4d336386d12e7e460b6530db9092d03d69.tar.gz
shared/att: Add ext_signed flag to be able to use external crypto
Due to the issues with CSRK tests ext_signed flag has been added to allow android/gatt handle signed write operations. This patch fixes following tests: GAP__TC_SEC_CSIGN_BV_02_C GAP__TC_SEC_CSIGN_BI_01_C GAP__TC_SEC_CSIGN_BI_02_C GAP__TC_SEC_CSIGN_BI_03_C GAP__TC_SEC_CSIGN_BI_04_C SM__TC_SIGN_BV_03_C
Diffstat (limited to 'android/gatt.c')
-rw-r--r--android/gatt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/gatt.c b/android/gatt.c
index b8074a937..65f314228 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -1569,7 +1569,7 @@ static void connect_cb(GIOChannel *io, GError *gerr, gpointer user_data)
if (cid == ATT_CID)
mtu = ATT_DEFAULT_LE_MTU;
- attrib = g_attrib_new(io, mtu);
+ attrib = g_attrib_new(io, mtu, true);
if (!attrib) {
error("gatt: unable to create new GAttrib instance");
device_set_state(dev, DEVICE_DISCONNECTED);