diff mbox series

[Bluez,v1] monitor: Fix missing setting string

Message ID 20200330150033.Bluez.v1.1.I3621733fcf428d49c82b09bfc2bdc7d3b2f7894a@changeid (mailing list archive)
State New, archived
Headers show
Series [Bluez,v1] monitor: Fix missing setting string | expand

Commit Message

Yun-hao Chung March 30, 2020, 7:01 a.m. UTC
Add wideband speech and phy-configuration to setting string
---

 monitor/control.c | 2 +-
 monitor/packet.c  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/monitor/control.c b/monitor/control.c
index 1e9054db3..790890fb4 100644
--- a/monitor/control.c
+++ b/monitor/control.c
@@ -200,7 +200,7 @@  static const char *settings_str[] = {
 	"powered", "connectable", "fast-connectable", "discoverable",
 	"bondable", "link-security", "ssp", "br/edr", "hs", "le",
 	"advertising", "secure-conn", "debug-keys", "privacy",
-	"configuration", "static-addr",
+	"configuration", "static-addr", "phy-configuration", "wide-band-speech",
 };
 
 static void mgmt_new_settings(uint16_t len, const void *buf)
diff --git a/monitor/packet.c b/monitor/packet.c
index 994ae6341..3d32563e6 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -11668,6 +11668,7 @@  static const struct bitfield_data mgmt_settings_table[] = {
 	{ 14, "Controller Configuration"},
 	{ 15, "Static Address"		},
 	{ 16, "PHY Configuration"	},
+	{ 17, "Wideband Speech"		},
 	{ }
 };