diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-07-20 07:51:54 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-07-20 08:02:49 +0200 |
commit | f137268ce12daaf56b79e508d6cba5e543feac36 (patch) | |
tree | 9832b0cd2633ef7b2c9ef4983ebe8858f04ac8c5 /libqcdm/src | |
parent | ddbc2195687bf4f5c94d7e60d808ddb695052f7f (diff) |
iface-modem: fix checking for single capabilities
The mm_iface_modem_is_*_only() checks were validating that all the other
capabilities except for the ones being queried were unset, but the check wasn't
explicitly checking that the actual capabilities being queried were set.
This was making the check fail when capabilities == MM_MODEM_CAPABILITY_NONE.
Reported-by: Matthew Stanger <stangerm2@gmail.com>
Diffstat (limited to 'libqcdm/src')
0 files changed, 0 insertions, 0 deletions