]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add new hci_cb entries to the tail rather than the head
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 18 Feb 2015 12:53:54 +0000 (14:53 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 19 Feb 2015 07:44:28 +0000 (08:44 +0100)
commit13084cc2eef8a1c50b237c2e5ae2839e0f5f1a34
tree2d46edbba4889c4ef78181d20aac8644a876d30d
parent23f09dab58b2de2df41577f42f9594e01e8c1019
Bluetooth: Add new hci_cb entries to the tail rather than the head

When processing hci_cb entries we want first registered callbacks to be
called first and later ones later. This is because eventually the L2CAP
callbacks that are part of the core will use this list and get
registered first. To keep the same order of calling L2CAP callbacks
before e.g. RFCOMM the order of elements needs to be this way.

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