[Bluetooth] Support the case when headset falls back to SCO link
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Jul 2008 18:13:46 +0000 (20:13 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Jul 2008 18:13:46 +0000 (20:13 +0200)
commit9dc0a3afc08d6c20c284994dcd84531787d00ec2
tree16658484ca53d7fbbf60d0a6c12590a5d3043de9
parentae29319649b80ed9d28d7b4f164e3f5f75020fc8
[Bluetooth] Support the case when headset falls back to SCO link

When trying to establish an eSCO link between two devices then it can
happen that the remote device falls back to a SCO link. Currently this
case is not handled correctly and the message dispatching will break
since it is looking for eSCO packets. So in case the configured link
falls back to SCO overwrite the link type with the correct value.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c