Skip to content

libqmi,mbim: only enable QMI over MBIM indications if QMI-capable device

Otherwise, all service subscribe list operations including the unsupported service may fail:

[04 nov 2018, 23:02:16] [Debug] [/dev/cdc-wdm2] Received message (translated)...
>>>>>> Header:
>>>>>>   length      = 48
>>>>>>   type        = command-done (0x80000003)
>>>>>>   transaction = 19
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   status error = 'InvalidDeviceServiceOperation' (0x00000022)
>>>>>>   service      = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>   cid          = 'device-service-subscribe-list' (0x00000013)

Merge request reports

Loading