commit | c80da27e868f6ffbe1c6588937aa4e7aeab21dec | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Feb 22 15:38:48 2012 +0200 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Thu Feb 23 13:06:59 2012 +0200 |
tree | 0ce0ee1b706f4b58c91431bc63bf5d82c9ff6a7e | |
parent | 5fc6ebb102fdf6f589242ebfe3a07d112d60c7d5 [diff] |
Bluetooth: mgmt: Fix clearing of hdev->eir The hdev->eir buffer needs to be cleared when clearing the EIR data. Otherwise subsequent attempts at setting the EIR to something valid again may fail because the code thinks that the EIR hasn't changed. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>