Bluetooth: Fix unnecessary EIR update during powering on
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 24 Oct 2012 21:09:54 +0000 (00:09 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 1 Nov 2012 22:27:00 +0000 (20:27 -0200)
commit1225a6bdf87446134789f3fc70ca75a056bbb1ed
tree44c6788c2f0405ee1083f8c4f9c697ea0df997e8
parent6b4b73ee75bd65c4a47b1a323cb7c5180a6d2ea7
Bluetooth: Fix unnecessary EIR update during powering on

When powered on the EIR data gets updated as the last step by mgmt.
Therefore avoid an update when getting a local name update as that's
part of the normal HCI init sequence.

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/mgmt.c