Handling QSS unsolicited in power state transitions
Carlo Lobrano
c.lobrano at gmail.com
Tue Aug 1 11:14:43 UTC 2017
Yes, I agree. That's why it's on a different patch
On Tue, 1 Aug 2017, 13:12 Aleksander Morgado, <aleksander at aleksander.es>
wrote:
> On Tue, Aug 1, 2017 at 12:31 PM, Carlo Lobrano <c.lobrano at gmail.com>
> wrote:
> >> Aren't the sim hot swap unsolicited messages received always, regardless
> >> of whether the modem is enabled or disabled?
> >
> > disabling_stopped function releases both ports contexts, so we don't
> receive
> > unsolicited on SIM swap ports.
> >
>
> Wait, I don't think that's ok. The SIM swap ports context is allocated
> during initialization, and should exist until the object is destroyed.
> We shouldn't be removing this context when the disable() happens,
> otherwise we wouldn't get SIM hot swap events when the modem is
> disabled.
>
> --
> Aleksander
> https://aleksander.es
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20170801/3a0817e6/attachment.html>
More information about the ModemManager-devel
mailing list