From: Andre Guedes Date: Tue, 10 Jan 2012 21:20:49 +0000 (-0300) Subject: Bluetooth: Add 'eir_len' param to mgmt_device_found() X-Git-Tag: v3.4-rc1~177^2~112^2~225 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d262f86f6b73efb500be9d9242ef0673221493d;p=pandora-kernel.git Bluetooth: Add 'eir_len' param to mgmt_device_found() This patch adds a new parameter to mgmt_device_found() to inform the length of 'eir' pointer. EIR data from LE advertising report event doesn't have a fixed length as EIR data from extended inquiry result event does. We needed to change mgmt_device_found() so it copies 'eir_len' bytes instead of HCI_MAX_EIR_LENGTH. Signed-off-by: Andre Guedes Acked-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed