Re: [PATCH] Bluetooth: Increase command tx timeout

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

 



Hi Peter,

> Respectfully, I disagree that this is the correct fix for this problem.
> 
> After an HCI_Reset, *no* hci commands should be issued until after the
> *successful* Command Complete is received. IMHO, the current code
> suffers two defects:
>   - it doesn't wait for Command Complete after the Reset command is sent
>   - it ignores the result code from that Command Complete
> 
> I believe the proper fix is to _loop_ over the HCI_Reset until a
> successful Command Complete is received.

Yes, You've got a point.. I've already prepared and tested a proper fix and 
will send it shortly.

Thanks for advice!

-- 
Szymon K. Janc
szymon@xxxxxxxxxxx // GG: 1383435

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