]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
Bluetooth: Fix device_found event length for remote name resolving
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 3 Feb 2012 22:06:00 +0000 (00:06 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:35 +0000 (17:01 +0200)
commit053c7e0c4a40e2bb44e3c1e61e263be00688a136
tree11017e93d2bd532e745e53b240769a9b0f235b59
parente87775250f322b8f1612cf9918fcde827948f087
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>
net/bluetooth/mgmt.c