Re: [PATCH] wcn36xx: dequeue all pending indicator messages

2018-03-18 Thread Bjorn Andersson
On Thu 15 Mar 15:37 PDT 2018, Daniel Mack wrote: > In case wcn36xx_smd_rsp_process() is called more than once before > hal_ind_work was dispatched, the messages will end up in hal_ind_queue, > but wcn36xx_ind_smd_work() will only look at the first message in that > list. > > Fix this by dequeing

Re: [PATCH] wcn36xx: dequeue all pending indicator messages

2018-03-16 Thread Daniel Mack
On Friday, March 16, 2018 11:22 AM, Kalle Valo wrote: > Daniel Mack writes: > >> Hi, >> >> On Friday, March 16, 2018 10:09 AM, Ramon Fried wrote: >>> On 3/16/2018 12:37 AM, Daniel Mack wrote: In case wcn36xx_smd_rsp_process() is called more than once before

Re: [PATCH] wcn36xx: dequeue all pending indicator messages

2018-03-16 Thread Kalle Valo
Daniel Mack writes: > Hi, > > On Friday, March 16, 2018 10:09 AM, Ramon Fried wrote: >> On 3/16/2018 12:37 AM, Daniel Mack wrote: >>> In case wcn36xx_smd_rsp_process() is called more than once before >>> hal_ind_work was dispatched, the messages will end up in hal_ind_queue,

Re: [PATCH] wcn36xx: dequeue all pending indicator messages

2018-03-16 Thread Daniel Mack
Hi, On Friday, March 16, 2018 10:09 AM, Ramon Fried wrote: > On 3/16/2018 12:37 AM, Daniel Mack wrote: >> In case wcn36xx_smd_rsp_process() is called more than once before >> hal_ind_work was dispatched, the messages will end up in hal_ind_queue, >> but wcn36xx_ind_smd_work() will only look at

Re: [PATCH] wcn36xx: dequeue all pending indicator messages

2018-03-16 Thread Ramon Fried
On 3/16/2018 12:37 AM, Daniel Mack wrote: In case wcn36xx_smd_rsp_process() is called more than once before hal_ind_work was dispatched, the messages will end up in hal_ind_queue, but wcn36xx_ind_smd_work() will only look at the first message in that list. Fix this by dequeing the messages

[PATCH] wcn36xx: dequeue all pending indicator messages

2018-03-15 Thread Daniel Mack
In case wcn36xx_smd_rsp_process() is called more than once before hal_ind_work was dispatched, the messages will end up in hal_ind_queue, but wcn36xx_ind_smd_work() will only look at the first message in that list. Fix this by dequeing the messages from the list in a loop, and only stop when it's