Bluetooth: cmtp: Fix session cleanup on failed conn add
authorPeter Hurley <peter@hurleysoftware.com>
Fri, 5 Aug 2011 14:53:52 +0000 (10:53 -0400)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 11 Aug 2011 22:50:28 +0000 (19:50 -0300)
commit687beaa0d1d937c327e2f97b4b4fa6c23ca70624
tree157353f922d5505df1971ad7c9deeaf34fb05f52
parentff062ea109217329b88693bc9081da893eb8b71b
Bluetooth: cmtp: Fix session cleanup on failed conn add

Once the session thread is running, cleanup must be handled
by the session thread only.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/cmtp/core.c