Bluetooth: Fix clearing of persistent dev_flags
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 21 Feb 2012 15:55:47 +0000 (17:55 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 21 Feb 2012 18:04:39 +0000 (20:04 +0200)
commita297e97cf7228467a8c5c76216945ccf029ae2a4
treefce106b07cb60ad970c6c4fb66ac5273c956ef3e
parent0224d2fafbbed4ac0cb05d08d3adab506a398451
Bluetooth: Fix clearing of persistent dev_flags

Now that most flags are persistent, only the LE_SCAN flag should be
cleared after a reset.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c