If there are any GATT operations interrupted by a disconnect, mark the
device as no longer executing. Otherwise we'll stil receive data from
the device, but we'll be unable to send any HID commands to it.
Bug:
29184976
Change-Id: I489f41c970abad0ff1145005d3250beafa83d27e
static void gatt_op_queue_clean(UINT16 conn_id) {
if (gatt_op_queue)
list_foreach(gatt_op_queue, rm_op_by_conn_id, &conn_id);
+
+ mark_as_not_executing(conn_id);
}
static bool find_op_by_conn_id(void *data, void *context) {