Bluetooth: Clear non-persistent flags when closing HCI device
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 15 Mar 2013 22:06:58 +0000 (17:06 -0500)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 18 Mar 2013 17:02:02 +0000 (14:02 -0300)
commitf9f85279fd3a3284023231c7f0796f98c417e7cd
treeaab2961c8aaf39789c70b1eeed61966ca052e66d
parent2cc6fb0049bc02ca7a020ba7b4f88b4c35976058
Bluetooth: Clear non-persistent flags when closing HCI device

When hci_dev_do_close() is called we should make sure to clear all
non-persistent flags in hci->dev_flags.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_core.c