diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2011-12-19 09:14:18 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-22 11:03:24 -0500 |
commit | 68a8aea45973c8d0bc05f58389ce9e82e04bb5f6 (patch) | |
tree | e28685f45585430c836427e50a8fb78d4aecb817 /include/net | |
parent | 8a154a8feb805394d1fd46281becaf876e18860a (diff) |
Bluetooth: Remove magic numbers from le scan cmd
Make code readable by removing magic numbers.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/hci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 6127ca8bd1d1..5b2fed5eebf2 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -804,6 +804,9 @@ struct hci_cp_le_set_scan_param { | |||
804 | __u8 filter_policy; | 804 | __u8 filter_policy; |
805 | } __packed; | 805 | } __packed; |
806 | 806 | ||
807 | #define LE_SCANNING_DISABLED 0x00 | ||
808 | #define LE_SCANNING_ENABLED 0x01 | ||
809 | |||
807 | #define HCI_OP_LE_SET_SCAN_ENABLE 0x200c | 810 | #define HCI_OP_LE_SET_SCAN_ENABLE 0x200c |
808 | struct hci_cp_le_set_scan_enable { | 811 | struct hci_cp_le_set_scan_enable { |
809 | __u8 enable; | 812 | __u8 enable; |