Diff between b09a49ac05a9c028000c505c5cc97327005cf9f3 and a6ee0566f8a26346fcddcb49d81e27c2a120fa10
Changed Files
| File | Additions | Deletions | Status |
| src/shared/att.c | +1 | -0 | modified |
Full Patch
diff --git a/src/shared/att.c b/src/shared/att.c
index 8bf3f46..04577ed 100644
--- a/src/shared/att.c
+++ b/src/shared/att.c
@@ -570,6 +570,7 @@ static bool disconnect_cb(struct io *io, void *user_data)
io_destroy(att->io);
att->io = NULL;
+ att->fd = -1;
/* Notify request callbacks */
queue_remove_all(att->req_queue, NULL, NULL, disc_att_send_op);