Bluetooth: Use explicit AMP controller id value for BR/EDR
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 5 Oct 2013 18:47:44 +0000 (11:47 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 6 Oct 2013 08:23:39 +0000 (10:23 +0200)
commit6ed971ca4f6bd96e26b3166cb5a94f7f8158fe77
tree77e17e15e41e9eea1167295dddd6fd3b3334506a
parentece6912648da3fcf257a40774e3aad531c3e5fac
Bluetooth: Use explicit AMP controller id value for BR/EDR

The special AMP controller id 0 is reserved for the BR/EDR controller
that has the main link. It is a fixed value and so use a constant for
this throughout the code to make it more visible when the handling is
for the BR/EDR channel or when it is for the AMP channel.

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