Bluetooth: Fix leaking blacklist when unregistering a hci device
authorJohan Hedberg <johan.hedberg@nokia.com>
Tue, 4 Jan 2011 10:08:50 +0000 (12:08 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 19 Jan 2011 16:40:42 +0000 (14:40 -0200)
commite2e0cacbd4b0c7c69c7591d37c243f2363aeaa71
treecf94370f2989dc0d18c770ef5c32161d91c8b24f
parent4571928fc73589e9c5217cd069d2c0b4ff1818a8
Bluetooth: Fix leaking blacklist when unregistering a hci device

The blacklist should be freed before the hci device gets unregistered.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_core.c