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)
commit57d17d70dfa4345fbe3e0d049504aa20626ed0e1
tree530a58c1407249364b99f2cf48b722ecfa91795f
parentac4b7236610cef99821f40f44a74030b85d85270
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