Bluetooth: Set default own address type only during controller setup
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 29 Oct 2013 19:26:51 +0000 (12:26 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 4 Dec 2013 13:09:02 +0000 (11:09 -0200)
commitbef34c0aa1bdd5bc106697bd7340eb212dcf3c85
treeb8a792093415855cf2fd7b6b9bfaef9eeb0dbed6
parent33337dcb891e54d63433101af21fbff0b3f87bfa
Bluetooth: Set default own address type only during controller setup

The default own address type is currently set at every power on of
a controller. This overwrites the value set via debugfs. To avoid
this issue, set the default own address type only during controller
setup.

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