Re: [PATCH] Bluetooth: Fix reason code used for rejecting SCO connections

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

 



Hi Fred,

> A comment in the code states that SCO connection should be rejected
> with the proper error value between 0xd-0xf. The code uses
> HCI_ERROR_REMOTE_LOW_RESOURCES which is 0x14.
> 
> This led to following error:
> < HCI Command: Reject Synchronous Co.. (0x01|0x002a) plen 7
>        Address: 34:51:C9:EF:02:CA (Apple, Inc.)
>        Reason: Remote Device Terminated due to Low Resources (0x14)
>> HCI Event: Command Status (0x0f) plen 4
>      Reject Synchronous Connection Request (0x01|0x002a) ncmd 1
>        Status: Invalid HCI Command Parameters (0x12)
> 
> Instead make use of HCI_ERROR_REJ_LIMITED_RESOURCES which is 0xd.
> 
> Signed-off-by: Frédéric Dalleau <frederic.dalleau@xxxxxxxxxxxxxxx>
> ---
> net/bluetooth/hci_request.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
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