Bluetooth: Remove useless check in hci_connect()
authorAndre Guedes <andre.guedes@openbossa.org>
Tue, 31 May 2011 17:20:55 +0000 (14:20 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 8 Jun 2011 19:58:18 +0000 (16:58 -0300)
commit893d67514aebcfd3ebf17bd212ceea1e2741a443
treef1c974727dd33f06c122958ecbc370f33a850806
parent29b7988a23daf79c15d587ef9e98e64715aa1ea8
Bluetooth: Remove useless check in hci_connect()

There is no need to check the connection's state since hci_conn_add()
has just created a new connection and its state has been set properly.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Ville Tervo <ville.tervo@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_conn.c