From d6ff55181b78d447ab5b1352164f8fbafa179051 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 22 Oct 2012 18:47:43 +0300 Subject: [PATCH] mgmt: Remove LE prefix from the peripheral setting --- lib/mgmt.h | 2 +- monitor/control.c | 2 +- tools/btmgmt.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/mgmt.h b/lib/mgmt.h index e196c787d..f8a975263 100644 --- a/lib/mgmt.h +++ b/lib/mgmt.h @@ -92,7 +92,7 @@ struct mgmt_rp_read_index_list { #define MGMT_SETTING_BREDR 0x00000080 #define MGMT_SETTING_HS 0x00000100 #define MGMT_SETTING_LE 0x00000200 -#define MGMT_SETTING_LE_PERIPHERAL 0x00000400 +#define MGMT_SETTING_PERIPHERAL 0x00000400 #define MGMT_OP_READ_INFO 0x0004 struct mgmt_rp_read_info { diff --git a/monitor/control.c b/monitor/control.c index a6dc08615..da2eb69d6 100644 --- a/monitor/control.c +++ b/monitor/control.c @@ -93,7 +93,7 @@ static void mgmt_controller_error(uint16_t len, const void *buf) static const char *settings_str[] = { "powered", "connectable", "fast-connectable", "discoverable", "pairable", "link-security", "ssp", "br/edr", "hs", "le", - "le-peripheral" + "peripheral" }; static void mgmt_new_settings(uint16_t len, const void *buf) diff --git a/tools/btmgmt.c b/tools/btmgmt.c index d20a966d0..12c270afa 100644 --- a/tools/btmgmt.c +++ b/tools/btmgmt.c @@ -235,7 +235,7 @@ static const char *settings_str[] = { "br/edr", "hs", "le" , - "le-peripheral", + "peripheral", }; static void print_settings(uint32_t settings) -- 2.47.3