Skip to content
Snippets Groups Projects

libqmi-glib: use ((guint64) 1) << 31 for QMI_*_LTE_BAND_*_EUTRAN_32

Merged Dan Williams requested to merge dcbw/libqmi:band-32-shift into master

The current definitions of QMI_LTE_BAND_EUTRAN_32 get converted to a negative value (0xffffffff80000000) which causes side effects like the incorrect ModemManager to QMI band mapping in https://lists.freedesktop.org/archives/modemmanager-devel/2019-August/007371.html .

Replace 1 << 31 with ((guint64) 1) << 31 for QMI_LTE_BAND_EUTRAN_32 to avoid this.

Reported-by: Nick mips171@icloud.com Signed-off-by: Reinhard Speyerer rspmn@arcor.de

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading