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)
commit474ee066f5abf7fc1e31ebf5865bf55d91fd83e9
tree4824168dd0e492be3eec67c54567cfee75e06c0b
parent73cf71d9865ad83c2ab7d09bc71be129088e4ded
Bluetooth: Don't send device found events for duplicate reports

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