Hi Denis,

Den mån 19 aug. 2019 kl 21:48 skrev Denis Kenzior <denkenz@gmail.com>:
Hi Richard,

> As I said, I'm afraid I have no logs for this. I tried to visualize how
> it could happen.

Sorry for the repeat.  Just take it as a strong hint for the "next time" :)

I got the hint ;-)
 

>
> 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.

Will do. I think we can skip 2/4. But I think 3 and 4/4 should be applied too. But we can start with the first.

--Richard