diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-05-13 20:50:12 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-07-21 10:39:05 -0700 |
commit | c13ffa620f15cb28d18268a773464cf51550fa9f (patch) | |
tree | f64298291240cb67270966e64977afaad7bec6f5 /usr | |
parent | 51893f88dd916efead5e24a212c907b2cd35e160 (diff) | |
download | linux-c13ffa620f15cb28d18268a773464cf51550fa9f.tar.gz linux-c13ffa620f15cb28d18268a773464cf51550fa9f.tar.bz2 linux-c13ffa620f15cb28d18268a773464cf51550fa9f.zip |
Bluetooth: Proper shutdown ERTM when closing the channel
Fix a crash regarding the Monitor Timeout, it was running even after the
shutdown of the ACL connection, which doesn't make sense.
The same code also fixes another issue, before this patch L2CAP was sending
many Disconnections Requests while we have to send only one.
The issues are related to each other, a expired Monitor Timeout can
trigger a Disconnection Request and then we may have a crash if the link
was already deleted.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions