Re: [PATCH] monitor/rfcomm: Fix not printing userdata in UIH frame with credits

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

 



Hi Szymon,

On Sun, Nov 16, 2014 at 11:26 PM, Szymon Janc <szymon.janc@xxxxxxxxx> wrote:
>> ACL Data RX: Handle 7 flags 0x02 dlen 19              [hci0] 8.723738
>       Channel: 65 len 15 [PSM 3 mode 0] {chan 1}
>       RFCOMM: Unnumbered Info with Header Check (UIH)(0xef)
>          Address: 0x09 cr 0 dlci 0x02
>          Control: 0xff poll/final 1
>          Length: 10
>          FCS: 0x5c
>          Credits: 1
>         41 54 2b 43 49 4e 44 3d 3f 0d 5c               AT+CIND=?.\
> ---
>  monitor/rfcomm.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/monitor/rfcomm.c b/monitor/rfcomm.c
> index 881ae5e..b3db98b 100644
> --- a/monitor/rfcomm.c
> +++ b/monitor/rfcomm.c
> @@ -171,7 +171,6 @@ static bool uih_frame(struct rfcomm_frame *rfcomm_frame, uint8_t indent)
>                         return false;
>                 hdr->credits = credits;
>                 print_field("%*cCredits: %d", indent, ' ', hdr->credits);
> -               return true;
>         }
>
>         packet_hexdump(frame->data, frame->size);
> --
> 1.9.3

Applied, thanks.


-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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