Diff between 1b0a4291d16e1cc87831487a61bee5a493a27ef2 and d6ff55181b78d447ab5b1352164f8fbafa179051

Changed Files

File Additions Deletions Status
lib/mgmt.h +1 -1 modified
monitor/control.c +1 -1 modified
tools/btmgmt.c +1 -1 modified

Full Patch

diff --git a/lib/mgmt.h b/lib/mgmt.h
index e196c78..f8a9752 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 a6dc086..da2eb69 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 d20a966..12c270a 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)