lib: Correct the name command definition
authorMiao-chen Chou <mcchou@chromium.org>
Tue, 16 Jun 2020 04:28:34 +0000 (21:28 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:49 +0000 (14:30 +0530)
This renames MGMT_OP_ADD_ADV_MONITOR to
MGMT_OP_ADD_ADV_PATTERNS_MONITOR as this command is only used for
patterns.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
lib/mgmt.h

index 1b942d2bb055cbd2f52ef0bc258411e04fa4e4b5..807e77af8f67c59c05eebf7398d1654f6687d5eb 100644 (file)
@@ -683,7 +683,7 @@ struct mgmt_adv_pattern {
        uint8_t value[31];
 } __packed;
 
-#define MGMT_OP_ADD_ADV_MONITOR                        0x0052
+#define MGMT_OP_ADD_ADV_PATTERNS_MONITOR       0x0052
 struct mgmt_cp_add_adv_monitor {
        uint8_t pattern_count;
        struct mgmt_adv_pattern patterns[0];