[PATCH] Qtopia - enable suspend/resume to forcibly flow-control the GSM
zecke at openmoko.org
Thu Jun 12 11:06:33 CEST 2008
On Thursday 12 June 2008 06:47:02 Mike (mwester) wrote:
> The following patch enables Qtopia to forcibly flow-control the GSM
> as suspend, and release the flow-control upon resume. This eliminates
> some race conditions, and ensures that no GSM data will be lost during
> suspend and resume operations.
>orig 2008-06-10 21:28:52.000000000 -0500 +++
> 2008-06-11 18:38:16.000000000 -0500 @@ -661,6 +661,15 @@
> void Ficgta01ModemService::sendSuspendDone()
> +// set forced flow control
> + usleep(100000);
race? sleeping a random time? why do you need to sleep here?
More information about the distro-devel