From: Gustavo F. Padovan Date: Thu, 13 May 2010 23:50:12 +0000 (-0300) Subject: Bluetooth: Proper shutdown ERTM when closing the channel X-Git-Tag: v2.6.36-rc1~571^2~64^2~48^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c13ffa620f15cb28d18268a773464cf51550fa9f;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed