Bluetooth: Remove useless check in hci_connect()
authorAndre Guedes <andre.guedes@openbossa.org>
Tue, 31 May 2011 17:20:55 +0000 (14:20 -0300)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:10:23 +0000 (12:10 -0800)
commitad42e9beaef551e77633b6b8ceb9dd17c7134eda
tree2dc1fcd345955ac64c9a682ceb44cfb66e0065d9
parent5de568669da24c1aaef8fb0d314f6e85beeb86d9
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