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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ayush,

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

-- 
Luiz Augusto von Dentz



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux