Bluetooth: Remove double check for BT_CONNECTED
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 21 May 2012 16:58:21 +0000 (13:58 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:06 +0000 (06:34 +0300)
commitbe4aad05af0ec949a91e7bbaa55c02a954714473
tree5c7c2d7eb7a40460181cd6fafc7cd850ec744051
parent401bb1f768c842b9fbfaeb7741cc5cf17c70ffd1
Bluetooth: Remove double check for BT_CONNECTED

The same check is done just before call l2cap_streaming_send()

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c