UPSTREAM: libqmi-glib,device: schedule indications with G_PRIORITY_DEFAULT

The response processing operations are scheduled by
g_simple_async_result_complete_in_idle(), which creates an idle source
with G_PRIORITY_DEFAULT priority.

We should schedule the indications with the same priority (instead of
the default G_PRIORITY_DEFAULT_IDLE) so that the processing of
indications and responses are ordered corectly.

See https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/951

(cherry picked from commit 8b8ee0acfe4f74714ab21c31edc590f4d2c9aa6f)

BUG=b:264259856
TEST=Manual testing in Trogdor DUT

Change-Id: Ia6fa829644eb18fc4356ba55dd7e1ac6bc9746e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/libqmi/+/4152010
Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
Tested-by: Aleksander Morgado <aleksandermj@google.com>
Commit-Queue: Pavan Holla <pholla@google.com>
1 file changed
tree: d2938cffed5f23c9c21146e8dbe2039df225ffc2
  1. build-aux/
  2. data/
  3. docs/
  4. examples/
  5. gobi-api/
  6. src/
  7. utils/
  8. .gitignore
  9. .gitlab-ci.yml
  10. AUTHORS
  11. ChangeLog
  12. COPYING
  13. COPYING.LIB
  14. DIR_METADATA
  15. meson.build
  16. meson_options.txt
  17. NEWS
  18. OWNERS
  19. PRESUBMIT.cfg
  20. README.chromium
  21. README.md
  22. RELEASING
  23. TODO
  24. unblocked_terms.txt
README.md

libqmi

libqmi is a glib-based library for talking to WWAN modems and devices which speak the Qualcomm MSM Interface (QMI) protocol.

Documentation

Project documentation is kept in: https://modemmanager.org/docs/libqmi/

License

  • libqmi-glib library is released under the LGPL-2.1-or-later license.
  • qmicli, qmi-network and qmi-firmware-update tools are released under the GPL-2.0-or-later license.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms, which you can find in the following link: https://www.freedesktop.org/wiki/CodeOfConduct CoC issues may be raised to the project maintainers at the following address: libqmi-devel-owner@lists.freedesktop.org