diff mbox series

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

Message ID 20210316105738.11560-1-ayush.garg@samsung.com (mailing list archive)
State New, archived
Headers show
Series [BlueZ] btmgmt: Fix typo in printing Set PHY Configuration command error | expand

Commit Message

Ayush Garg March 16, 2021, 10:57 a.m. UTC
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
---
 tools/btmgmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

bluez.test.bot@gmail.com March 16, 2021, 11:45 a.m. UTC | #1
This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=448991

---Test result---

##############################
Test: CheckPatch - PASS

##############################
Test: CheckGitLint - PASS

##############################
Test: CheckBuild - PASS

##############################
Test: MakeCheck - PASS



---
Regards,
Linux Bluetooth
Luiz Augusto von Dentz March 16, 2021, 6:07 p.m. UTC | #2
Hi Ayush,

On Tue, Mar 16, 2021 at 8:37 AM Ayush Garg <ayush.garg@samsung.com> wrote:
>
> Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
> ---
>  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

Applied, note that I changed the commit message a little bit and
removed the Signed-off-by since we don't use that in userspace.
diff mbox series

Patch

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);
 	}
 }