Hi Ido, On Tue, May 29, 2012, Ido Yariv wrote: > New requests and responses are never sent if a request was sent and the > response for it hasn't been received yet. As a result, if both end > points send requests at the same time, a deadlock could occur. This > could happen, for instance, if the client sends a read request and the > server sends an indication before responding to the read request. > > Fix this by introducing an additional queue for responses. Responses may > be sent while there's still a pending request/indication. > --- > Changes from v2: > - Cancel responses in g_attrib_cancel_all even if the requests queue is NULL > > attrib/gattrib.c | 111 ++++++++++++++++++++++++++++++++++++++++++------------ > 1 files changed, 87 insertions(+), 24 deletions(-) Applied. Thanks. Johan -- 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