Bluetooth: Remove useless check in hci_connect()
authorAndre Guedes <andre.guedes@openbossa.org>
Tue, 31 May 2011 17:20:55 +0000 (14:20 -0300)
committerJaikumar Ganesh <jaikumar@google.com>
Mon, 11 Jul 2011 18:59:15 +0000 (11:59 -0700)
commit92398c8163acd942de0a7c7d2d7abcf5ca3d02af
tree3df585a9991d66852a9d7d9f385b914a281948af
parent149c097ce73e6f301c8d257828334506028be307
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