Hi Andrei,
* Andrei Emeltchenko [off-list ref] [2012-03-20 14:51:08 +0200]:
From: Andrei Emeltchenko <redacted>
Simplify L2CAP timers logic. Previous logic was hard to understand.
Now we always hold(chan) when setting up timer and put(chan) only
if work pending and we successfully cancel delayed work.
If delayed work is executing it will put(chan) itself.
Signed-off-by: Andrei Emeltchenko <redacted>
---
include/net/bluetooth/l2cap.h | 27 ++++++++++++++-------------
1 files changed, 14 insertions(+), 13 deletions(-)
Applied, thanks.
Gustavo