OSDN Git Service

Bluetooth: Fix establishing ESCO links
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Sat, 18 Aug 2012 00:37:59 +0000 (21:37 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 21 Aug 2012 17:54:42 +0000 (14:54 -0300)
commitf91c8468df97d0ac18132eb38283524a74317901
tree32c8c4d2aea373cba1e8c44c694b9355afd4abc5
parent144ad33020a0af66fbb188ef3f13ca91c5326a69
Bluetooth: Fix establishing ESCO links

Commit 4cd2d98340b4f03d5532c30fdaeb451b035429cb "Bluetooth: Simplify
the connection type handling" broke the creation of ESCO links.

This patch adds a type parameter to hci_connect_sco() so it creates
the connection of the right kind.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_conn.c