commit | 053c7e0c4a40e2bb44e3c1e61e263be00688a136 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Sat Feb 04 00:06:00 2012 +0200 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Mon Feb 13 17:01:35 2012 +0200 |
tree | 11017e93d2bd532e745e53b240769a9b0f235b59 | |
parent | e87775250f322b8f1612cf9918fcde827948f087 [diff] |
Bluetooth: Fix device_found event length for remote name resolving The correct length of the event is the size of the ev struct (not size of the pointer like the code was previously using) plus the length of the variable-sized EIR data at the end of the struct. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>