2017-06-16 11:21:01

by Konrad Zapalowicz

[permalink] [raw]
Subject: [PATCH] tester: fix inproper printout from cmd handler

From: Konrad ZapaƂowicz <[email protected]>

---
tools/hci-tester.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/hci-tester.c b/tools/hci-tester.c
index 75d09f0..e900789 100644
--- a/tools/hci-tester.c
+++ b/tools/hci-tester.c
@@ -451,7 +451,7 @@ static void test_le_read_local_pk_status(const void *data, uint8_t size,
uint8_t status = *((uint8_t *) data);

if (status) {
- tester_warn("Failed to send DHKey gen cmd (0x%02x)", status);
+ tester_warn("Failed to send Read Local PK256 cmd (0x%02x)", status);
tester_test_failed();
return;
}
--
2.7.4



2017-06-19 08:10:37

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: [PATCH] tester: fix inproper printout from cmd handler

Hi Konrad,

On Fri, Jun 16, 2017 at 2:21 PM, Konrad Zapalowicz
<[email protected]> wrote:
> From: Konrad Zapa=C5=82owicz <[email protected]>
>
> ---
> tools/hci-tester.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/hci-tester.c b/tools/hci-tester.c
> index 75d09f0..e900789 100644
> --- a/tools/hci-tester.c
> +++ b/tools/hci-tester.c
> @@ -451,7 +451,7 @@ static void test_le_read_local_pk_status(const void *=
data, uint8_t size,
> uint8_t status =3D *((uint8_t *) data);
>
> if (status) {
> - tester_warn("Failed to send DHKey gen cmd (0x%02x)", stat=
us);
> + tester_warn("Failed to send Read Local PK256 cmd (0x%02x)=
", status);
> tester_test_failed();
> return;
> }
> --
> 2.7.4

Applied, thanks.

--=20
Luiz Augusto von Dentz