Re: [PATCHv2 3/5] Bluetooth: Add opcode to error message |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi Szymon,
On Fri, Jun 08, 2012 at 01:17:42PM +0200, Szymon Janc wrote:
> > - BT_ERR("%s command tx timeout", hdev->name);
> > + if (hdev->sent_cmd) {
> > + struct hci_command_hdr *sent = (void *) hdev->sent_cmd->data;
> > + u16 opcode = __le16_to_cpu(sent->opcode);
> > +
> > + BT_ERR("%s command 0x%4.4x tx timeout", hdev->name, opcode);
> > + } else
> > + BT_ERR("%s command tx timeout", hdev->name);
> > +
>
> Just a minor, 'else' should have braces as well.
Sure, thanks for pointing out. I will send updated version soon.
Best regards
Andrei Emeltchenko
--
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
[Bluez Devel]
[Linux USB Devel]
[Linux Media Drivers]
[Linux Audio Users]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Bluez Devel]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Big List of Linux Books]