]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit305f5cb15f420abb6490323c834bcafb0ec8e78a
tree77e17e15e41e9eea1167295dddd6fd3b3334506a
parentd85e9403c162a055994bff91958edf0241c6caf9
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