Fix: Tweak gprs attach logic
authorDenis Kenzior <denkenz@gmail.com>
Mon, 8 Feb 2010 21:33:17 +0000 (15:33 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Mon, 8 Feb 2010 21:33:17 +0000 (15:33 -0600)
commitea771ec186613c365a5404c6c178db512f651795
tree87b73cbd9ae556c1ab90d2e24402a69dbcc78017
parentd11505f7510c31746c9bf642dbbf548991a6a40f
Fix: Tweak gprs attach logic

We use driver_attached to track whether the driver is attached /
attaching.  Unfortunately we only set it when set_attached succeeds.
Instead we should set it right away when calling set_attached, so we
cover pending attaches as well.
src/gprs.c