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)