David Herrmann 8381088e39 Bluetooth: btusb: Free driver data on USB shutdown
Instead of using the hci-destruct callback we free our private driver
data on USB shutdown. We already called hci_unregister_dev() here so the
hci core will never ever call our callbacks again except the destruct
callback.

However, there is no reason to keep our *private* driver data alive if
we get never called again and the hci-core does never touch it the data.
So we simply free it right away and set the destruct callback to NULL.

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>
2012-02-13 17:01:23 +02:00
..
2012-01-03 22:54:07 -05:00
2012-01-09 14:44:15 -08:00
2012-01-11 18:51:55 -08:00
2012-01-09 14:44:15 -08:00
2012-01-12 20:13:11 -08:00
2012-01-12 15:44:42 +10:30
2012-01-09 14:30:28 -08:00
2012-02-06 14:55:36 -05:00
2012-01-13 10:12:23 -08:00
2012-01-02 13:04:55 +01:00
2011-11-26 17:05:33 -08:00