Bluetooth: Explicitly clear EIR data upon hci_dev setup
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 22 Feb 2012 13:47:48 +0000 (15:47 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:06:59 +0000 (13:06 +0200)
commit54d04dbbb933e8a49429d602b847e367782267e9
tree7fcac1ce7a0059a975e3789ecee3efb66c93707c
parentc80da27e868f6ffbe1c6588937aa4e7aeab21dec
Bluetooth: Explicitly clear EIR data upon hci_dev setup

Some controllers preserve their EIR data even after a reset so we need
to explicitly clear this during the device setup procedure.

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