Bluetooth: Don't clear the blacklist when closing the HCI device
authorJohan Hedberg <johan.hedberg@nokia.com>
Thu, 9 Sep 2010 07:32:39 +0000 (10:32 +0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 12 Oct 2010 15:44:52 +0000 (12:44 -0300)
commit80e2c88803c72747cb19febe2ad708bf0ad557bf
treea719028d5767d0d80e43804eb1797abe4133c644
parent5017d8dde13313cab1e607379536a7930ed682b0
Bluetooth: Don't clear the blacklist when closing the HCI device

Clearing the blacklist in hci_dev_do_close() would mean that user space
needs to do extra work to re-block devices after a DEVDOWN-DEVUP cycle.
This patch removes the clearing of the blacklist in this case and
thereby saves user space from the extra work.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Acked-by: Ville Tervo <ville.tervo@nokia.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_core.c