[PATCH v1 0/1] shared/att: Handle disconnects.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



*v1: The code now destroys the underlying io structure on timeouts and
     disconnects. In the disconnect case, the io_destroy job is posted on the
     mainloop to prevent the io from being deallocated in the middle of its
     internal event handler.

     In the timeout case, the io_destroy call will clean up the underlying
     connection only if bt_att_set_close_on_unref was called on the bt_att
     structure earlier.

Arman Uguray (1):
  shared/att: Handle disconnects.

 src/shared/att.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++---------
 src/shared/att.h |   5 +++
 2 files changed, 97 insertions(+), 16 deletions(-)

-- 
2.0.0.526.g5318336

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux