Thread (3 messages) flat view 3 messages, 3 authors, 2021-03-16
STALE2020d

[PATCH BlueZ] btmgmt: Fix typo in printing Set PHY Configuration command error

From: Ayush Garg <hidden>
Date: 2021-03-16 11:29:25
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Ayush Garg <redacted>
---
 tools/btmgmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/btmgmt.c b/tools/btmgmt.c
index f4eb541fa..647c696f8 100644
--- a/tools/btmgmt.c
+++ b/tools/btmgmt.c
@@ -4725,7 +4725,7 @@ static void cmd_phy(int argc, char **argv)
 	if (mgmt_send(mgmt, MGMT_OP_SET_PHY_CONFIGURATION, index, sizeof(cp),
 					&cp, set_phy_rsp, NULL, NULL) == 0) {
 		error("Unable to send %s cmd",
-				mgmt_opstr(MGMT_OP_GET_PHY_CONFIGURATION));
+				mgmt_opstr(MGMT_OP_SET_PHY_CONFIGURATION));
 		return bt_shell_noninteractive_quit(EXIT_FAILURE);
 	}
 }
-- 
2.17.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help