]> git.neil.brown.name Git - plato.git/commit
gsmd: handle suspend after setting the the timeout.
authorNeilBrown <neilb@suse.de>
Thu, 24 Jan 2013 23:38:03 +0000 (10:38 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 24 Jan 2013 23:38:03 +0000 (10:38 +1100)
commit218f528af3802613d37bc2d4532ef9e92c8a727f
treeac563222bb07c15759c1e73619a613eb9579dd10
parentf54f5207c593fda482aa729e221254b7e3a83164
gsmd: handle suspend after setting the the timeout.

As soon as we acknowledge suspend, we might process an immediate resume.
That will try to abort any timeout.

So it is best to do it *after* we set our timeout, else we get stuck
in that timeout and never abort it.

Signed-off-by: NeilBrown <neilb@suse.de>
gsm/gsmd.py