Commit: 3e71cabf0edb511c452663710ed07d29b676933f
Parent: 00d0e76c151cd4ae5348f69767205b703905e068
Author: Luiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Committer: Johan Hedberg <johan.hedberg@nokia.com>
Date: 2011-03-28 17:37:10
Tree: af41afe690e51f5bcddd051685d824ee98eeca0a

Fix crash when receiving avdtp close command If there are pending start or suspend requests they should all fail since once close indication return the state will be changed to closing and remote stack can then disconnect cleanly. This also follow what specs says about connection release: "When the Upper Layer has completed releasing all resources allocated to the stream, an AVDTP_CLOSE_RSP is sent back to the INT."

Diffstat

M audio/a2dp.c | 18 ++++++++++++++++++

1 files changed, 18 insertions(+), 0 deletions(-)

View Full Diff | Patch