diff options
author | Reinhard Speyerer <rspmn@arcor.de> | 2016-03-25 16:40:09 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-03-25 19:25:33 +0100 |
commit | 0f7849ce05f3e26283652c20e5392161c1cfeeaf (patch) | |
tree | b011790f38d6b9cd4a40b2ce36596c8ccfe4bc36 /gtester.make | |
parent | 2bce0d44d5e11d9465bc32b97dc0241b47ab2715 (diff) |
libqmi-glib: use ((guint64) 1) << 31 for QMI_*_BAND_CAPABILITY_BC_15
The current definition of QMI_*_BAND_CAPABILITY_BC_15 gets converted to a
negative value (0xffffffff80000000) which causes false positives for BC15
to be returned from dms_add_qmi_bands() and nas_add_qmi_bands() in
ModemManager/src/mm-modem-helpers-qmi.c when a matching QMI band (e.g.
WCDMA900) is present in qmi_bands like in this example
https://lists.freedesktop.org/archives/libqmi-devel/2016-March/001572.html .
Replace 1 << 31 with ((guint64) 1) << 31 for QMI_*_BAND_CAPABILITY_BC_15
to avoid incorrect mmcli "Bands | supported: 'cdma-bc15-aws, ...'" output.
Signed-off-by: Reinhard Speyerer <rspmn@arcor.de>
Diffstat (limited to 'gtester.make')
0 files changed, 0 insertions, 0 deletions