]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Move skb->dev assignment for hdev->send into central place
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Oct 2013 21:54:17 +0000 (14:54 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Oct 2013 22:10:09 +0000 (00:10 +0200)
commit66ea715cd9fa29f9669bac75075cd5393cb5556d
tree530a58c1407249364b99f2cf48b722ecfa91795f
parente8e4ac892d960fc1fae01555db392fc270c50740
Bluetooth: Move skb->dev assignment for hdev->send into central place

The assignement of skb->dev is done all over the place. So it makes it
hard to eventually get rid of it. Move it all in one central place so
it gets assigned right before calling hdev->send driver callback.

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