Diff between 321c8df9be8660e1e4ccb7fa61c6031418fa1df8 and 6a44a69acead3e0d5a5bf5879f7ae312d419e022
Changed Files
| File | Additions | Deletions | Status |
| android/gatt.c | +1 | -1 | modified |
Full Patch
diff --git a/android/gatt.c b/android/gatt.c
index 18d55b0..625b7df 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -1652,7 +1652,7 @@ reply:
&data);
/* For BR/EDR notify about MTU since it is not negotiable*/
- if (cid != ATT_CID)
+ if (cid != ATT_CID && status == GATT_SUCCESS)
queue_foreach(app_connections, notify_mtu_change, dev);
device_unref(dev);