]> git.openfabrics.org - ~emulex/infiniband.git/commit
Bluetooth: Use explicit check for BR/EDR device type
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 6 Oct 2013 08:16:22 +0000 (01:16 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 6 Oct 2013 09:00:40 +0000 (11:00 +0200)
commit01cd340427ab01a744a539981bcc4ef00e5ad133
treee0972dda26e755b1c14ac35ce7849b95049e3b53
parenta5c8f270e4dae14ea5cb88e477ed1092955f8722
Bluetooth: Use explicit check for BR/EDR device type

The BR/EDR and LE setup procedures apply only to BR/EDR device types
and so check for that explicitly. Checking that it is not an AMP
controller is dangerous in case there will be ever a third device
type.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c