Bluetooth: mgmt: Allow local name changes while powered off
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 22 Feb 2012 19:06:55 +0000 (21:06 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:07:00 +0000 (13:07 +0200)
commit28cc7bde5978cbc58c9026123fa5f33b62ad66b3
treeb50261ffeb89292456e02c817c2af8c07a351fa9
parentdb99b5fc77e6cec47d80703b471f1efe04527d2f
Bluetooth: mgmt: Allow local name changes while powered off

This patch makes it possible to set the local name before powering on
the device. The name will be applied using the hci_write_local_name
command once the device gets powered on.

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