Re: [PATCH 1/2] bluetooth: don't include local processing of HCI commands in the command timeout

2014-05-31 Thread Alexander Holler
Am 31.05.2014 08:45, schrieb Alexander Holler: Am 31.05.2014 07:28, schrieb Marcel Holtmann: so I actually wonder if we should move away from timer and move to a delayed work item to handle the timeout and if that would actually fix this issue. The problem is that I have absolutely no clue

Re: [PATCH 1/2] bluetooth: don't include local processing of HCI commands in the command timeout

2014-05-31 Thread Alexander Holler
Am 31.05.2014 07:28, schrieb Marcel Holtmann: > Hi Alexander, > >> I assume the timeout for processing HCI commands was originally intended to >> detect hung bluetooth devices and should not include the time needed locally >> to handle the response to an HCI command. That is important because the

Re: [PATCH 1/2] bluetooth: don't include local processing of HCI commands in the command timeout

2014-05-31 Thread Alexander Holler
Am 31.05.2014 07:28, schrieb Marcel Holtmann: Hi Alexander, I assume the timeout for processing HCI commands was originally intended to detect hung bluetooth devices and should not include the time needed locally to handle the response to an HCI command. That is important because the time

Re: [PATCH 1/2] bluetooth: don't include local processing of HCI commands in the command timeout

2014-05-31 Thread Alexander Holler
Am 31.05.2014 08:45, schrieb Alexander Holler: Am 31.05.2014 07:28, schrieb Marcel Holtmann: so I actually wonder if we should move away from timer and move to a delayed work item to handle the timeout and if that would actually fix this issue. The problem is that I have absolutely no clue

Re: [PATCH 1/2] bluetooth: don't include local processing of HCI commands in the command timeout

2014-05-30 Thread Marcel Holtmann
Hi Alexander, > I assume the timeout for processing HCI commands was originally intended to > detect hung bluetooth devices and should not include the time needed locally > to handle the response to an HCI command. That is important because the time > needed locally (by the kernel or even

Re: [PATCH 1/2] bluetooth: don't include local processing of HCI commands in the command timeout

2014-05-30 Thread Marcel Holtmann
Hi Alexander, I assume the timeout for processing HCI commands was originally intended to detect hung bluetooth devices and should not include the time needed locally to handle the response to an HCI command. That is important because the time needed locally (by the kernel or even userland)

[PATCH 1/2] bluetooth: don't include local processing of HCI commands in the command timeout

2014-05-14 Thread Alexander Holler
I assume the timeout for processing HCI commands was originally intended to detect hung bluetooth devices and should not include the time needed locally to handle the response to an HCI command. That is important because the time needed locally (by the kernel or even userland) to process responses

[PATCH 1/2] bluetooth: don't include local processing of HCI commands in the command timeout

2014-05-14 Thread Alexander Holler
I assume the timeout for processing HCI commands was originally intended to detect hung bluetooth devices and should not include the time needed locally to handle the response to an HCI command. That is important because the time needed locally (by the kernel or even userland) to process responses