From: Johan Hedberg Date: Wed, 2 Jul 2014 19:42:01 +0000 (+0300) Subject: Bluetooth: Allow mgmt_device_found events for kernel-side scanning X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75ce208cc44938195f57c55f81c8e4447dd492fb;p=pandora-kernel.git Bluetooth: Allow mgmt_device_found events for kernel-side scanning When the kernel is doing LE scanning because of one or more devices added with action 0x00 through the Add Device command we do want to let mgmt_device_found() to proceed with sending an event. This kind of devices are tracked with hdev->pend_le_reports, so check this value before bailing out from the function. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed