diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2022-05-13 12:43:17 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2022-05-20 09:03:54 +0000 |
commit | 82b574a6e7917bd37eb9a3467bb628ce7271b04b (patch) | |
tree | d315eab7a816aaf977dc3c3d59d70b8907178e01 /src/mm-bearer-mbim.c | |
parent | b497de325a15700612e7bc83be238204f41153e6 (diff) |
broadband-modem-mbim: ignore SIM swap events during a slot switch action
When we explicitly request to perform a SIM slot switch operation, we
should ignore the 'slot info status' and 'subscriber ready status'
indications that report an active SIM slot change, or otherwise they'll
end up interfering with the correct reporting of the slot switch
operation.
We could have attempted to complete the slot switch operation early
using the indications, but that solution would have forced us to
assume that theinfo in the indications is the one we had requested,
which is not easy because the 'slot info status' indication is
reported once for each slot, so a single SIM slot switch operation
triggers multiple 'slot info status' indications, as well as
additional 'subscriber ready status' indications reporting the same.
Fixes suggested by Pavan Holla <pholla@chromium.org> and tested by
Jinjian Song <Jinjian.Song@fibocom.com>.
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/550
Diffstat (limited to 'src/mm-bearer-mbim.c')
0 files changed, 0 insertions, 0 deletions