Re: [PATCH] Fix busylooped in ppp_disconnect for huawei modem

2010-07-27 Thread Kalle Valo
"Zhang, Zhenhua" writes: > Hi Kalle, Hi Zhenhua, > Could you try my fix for this busy loop issue? It is not perfect but > at least work for me. I noticed you sent v2. I'm testing that right now and will send the results as a reply to that mail. > Btw, I still meet the kernel warning or even U

RE: [PATCH] Fix busylooped in ppp_disconnect for huawei modem

2010-07-26 Thread Zhang, Zhenhua
Hi Denis, Denis Kenzior wrote: > Hi Zhenhua, > > On 07/26/2010 09:39 PM, Zhenhua Zhang wrote: >> Huawei modem closes the modem port after PPP disconnect. So the >> channel >> of gatchat is NULL in ppp_disconnect. In such case, we should not >> resume >> the chat and call disconnect function whe

Re: [PATCH] Fix busylooped in ppp_disconnect for huawei modem

2010-07-26 Thread Denis Kenzior
Hi Zhenhua, On 07/26/2010 09:39 PM, Zhenhua Zhang wrote: > Huawei modem closes the modem port after PPP disconnect. So the channel > of gatchat is NULL in ppp_disconnect. In such case, we should not resume > the chat and call disconnect function when removing the context. Please reword the last s

RE: [PATCH] Fix busylooped in ppp_disconnect for huawei modem

2010-07-26 Thread Zhang, Zhenhua
Hi Kalle, Zhenhua Zhang wrote: > Huawei modem closes the modem port after PPP disconnect. So the > channel > of gatchat is NULL in ppp_disconnect. In such case, we should not > resume > the chat and call disconnect function when removing the context. > Secondly, before removing the gprs context,