aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_event.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-10-10 10:38:30 -0400
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-10-11 02:34:24 -0400
commitbd1eb66ba4eee21de3be24212b135f57101ad930 (patch)
tree37b3c0f63a3487429ce735c56f80968b6b198444 /net/bluetooth/hci_event.c
parent76ef7cf7722331097f5f47d23342128b1b5d072d (diff)
Bluetooth: AMP: Handle AMP_LINK connection
AMP_LINK represents physical link between AMP controllers. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r--net/bluetooth/hci_event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index 5c0b6c161a01..0383635f91fb 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -2733,6 +2733,7 @@ static void hci_num_comp_blocks_evt(struct hci_dev *hdev, struct sk_buff *skb)
2733 2733
2734 switch (conn->type) { 2734 switch (conn->type) {
2735 case ACL_LINK: 2735 case ACL_LINK:
2736 case AMP_LINK:
2736 hdev->block_cnt += block_count; 2737 hdev->block_cnt += block_count;
2737 if (hdev->block_cnt > hdev->num_blocks) 2738 if (hdev->block_cnt > hdev->num_blocks)
2738 hdev->block_cnt = hdev->num_blocks; 2739 hdev->block_cnt = hdev->num_blocks;