Bluetooth: Don't send device found events for duplicate reports
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 25 Mar 2014 12:34:59 +0000 (14:34 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 26 Mar 2014 16:31:40 +0000 (09:31 -0700)
Occasionally, during active scanning we will receive duplicate ADV_IND
reports from the same device before receiving the SCAN_RSP from them. In
order to not wake up user space unnecessarily it's better not to send
these extra events as they do not contain any new information.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c

Simple merge