Bluetooth: Add macros for filter duplicates values
authorAndre Guedes <andre.guedes@openbossa.org>
Thu, 4 Apr 2013 23:21:01 +0000 (20:21 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 18 Apr 2013 04:17:05 +0000 (01:17 -0300)
commit525e296a28561659d85a63befb694f36e6ec3429
tree1c4efc907e4dd7bbd9c0f48eedb7bc222e1694d0
parent5df480b56e427d83830576862463226c8fcc95d7
Bluetooth: Add macros for filter duplicates values

This patch adds macros for filter_duplicates parameter values from
HCI LE Set Scan Enable command. It also fixes le_scan_enable_req
function so it uses the LE_SCAN_FILTER_DUP_ENABLE macro instead of
a magic number.

The LE_SCAN_FILTER_DUP_DISABLE was also defined since it will be
required to properly support the GAP Observer Role.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/hci.h
net/bluetooth/hci_core.c