As I said, I'm afraid I have no logs for this. I tried to
it could happen.
Sorry for the repeat. Just take it as a strong hint for the "next time" :)
But anyway I think it makes more sense to "calculate" the attached state
in one place,
(gprs_attached_update) and one of the places this gets called from is
when GPRS detaches.
Care to resend a cleaned up patch? I'm fine taking at least 1/4.