diff options
author | Dan Williams <dcbw@redhat.com> | 2012-06-25 12:48:01 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-06-25 12:48:47 -0500 |
commit | 061b4d202c74aaef25ac926cdb991c96a19e5d2d (patch) | |
tree | 4d048a4811d3033d5cf39bd749b7e8d18ca339c1 /decode/qmux.py | |
parent | d20f33b5c9bf0c187725d96e90acd673a120a409 (diff) |
decode: handle FUNCTION_CLASS_INTERFACE requests like CONTROL_TRANSFER
The Novatel USB551L uses these to send data to the device, but the data
is QMUX.
Diffstat (limited to 'decode/qmux.py')
-rw-r--r-- | decode/qmux.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/decode/qmux.py b/decode/qmux.py index b26d5345..a5543ac2 100644 --- a/decode/qmux.py +++ b/decode/qmux.py @@ -65,6 +65,8 @@ class Tlv: cmd = svc[1][self.cmdno] except KeyError: pass + except TypeError: + pass tlvlist = None if self.direction == TP_REQUEST: tlvlist = cmd[1] @@ -184,6 +186,8 @@ def show(data, prefix, direction): scmd = qmi_cmd_to_string(cmdno, service) except KeyError: pass + except TypeError: + pass print prefix + " Cmd: 0x%04x (%s)" % (cmdno, scmd) print prefix + " Size: 0x%04x" % size |