Bluetooth: Fix LE conn creation
authorAnderson Briglia <anderson.briglia@openbossa.org>
Mon, 21 Feb 2011 18:09:23 +0000 (15:09 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 21 Feb 2011 20:57:41 +0000 (17:57 -0300)
commit15c4794fe247d85ce38eb5f5e2a5855d996f56cd
treeedc8eb2aec26ad9a97c0480feb19e43208f27c5b
parenta664b5bc77fbc80c163de5606114659d3cbeb043
Bluetooth: Fix LE conn creation

This patch prevents a crash when remote host tries to create a LE
link which already exists. i.e.: call l2test twice passing the
same parameters.

Signed-off-by: Anderson Briglia <anderson.briglia@openbossa.org>
Signed-off-by: Ville Tervo <ville.tervo@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_conn.c