Bluetooth: Route traffic only through BR/EDR controller
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Tue, 19 Jun 2012 12:21:21 +0000 (15:21 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Sat, 30 Jun 2012 15:15:32 +0000 (12:15 -0300)
commitd300fa9b14549c64e63691356c68483bcfeb0f04
treef0e42db5229fbe7e9bd7ed5eb28f89b0418fc4b2
parent510df2515f6b0afdd7604aee21b02b8f339e9344
Bluetooth: Route traffic only through BR/EDR controller

If AMP controller is first in the list then Bluetooth traffic might
be routed through it (if source is not specified). The patch
prevents this case and also checks that source is BR/EDR.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_conn.c