]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Bluetooth: Remove redundant call to rfcomm_send_disc
authorDean Jenkins <Dean_Jenkins@mentor.com>
Thu, 28 Feb 2013 14:21:57 +0000 (14:21 +0000)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 8 Mar 2013 13:40:25 +0000 (10:40 -0300)
commit8e888f2783384ec097bc0c88d9949776f3584ed3
tree3d4adb6931dd862e8a8a9eb343b02b60e3a605af
parent08c30aca9e698faddebd34f81e1196295f9dc063
Bluetooth: Remove redundant call to rfcomm_send_disc

In rfcomm_session_del() remove the redundant call to
rfcomm_send_disc() because it is not possible for the
session to be in BT_CONNECTED state during deletion
of the session.

Signed-off-by: Dean Jenkins <Dean_Jenkins@mentor.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/rfcomm/core.c