avoid parsing InformationBuffer unless status is "success"
The MBIM specification requires that the InformationBuffer
is empty unless the status field is MBIM_STATUS_SUCCESS,
except for 4 explicit combinations of status code and
command id.
Avoid calling the reply handler if the status code is
non-zero and the information buffer is empty.
Signed-off-by: Bjørn Mork <[email protected]>
add command done status to verbose output
Signed-off-by: Bjørn Mork <[email protected]>
fix subscriber response segfault
Signed-off-by: Bjørn Mork <[email protected]>
fix build for 64 bit systems
Signed-off-by: John Crispin <[email protected]>
cleanup authprotocol handling
Signed-off-by: John Crispin <[email protected]>
add support for authproto/username/password
Signed-off-by: John Crispin <[email protected]>
sanitize pincode properly
Signed-off-by: John Crispin <[email protected]>