]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Correctly acquire module ref
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 7 Jan 2012 14:47:21 +0000 (15:47 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:24 +0000 (17:01 +0200)
commit46e06531a5ae13c66f774d3cb1ad78385618a5a2
tree6935c5b0b5717ff689a010408d0ae91104c5f01d
parent587ae086f6e44c3f1d313e3efdfc8c2866784bc3
Bluetooth: Correctly acquire module ref

We provide a device-object to other subsystems and we provide our own
release-function. Therefore, the device-object must own a reference to
our module, otherwise the release-function may get deleted before the
device-object does.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_sysfs.c