project/umbim.git
9 years agoavoid parsing InformationBuffer unless status is "success"
Bjørn Mork [Wed, 8 Apr 2015 13:31:20 +0000 (15:31 +0200)]
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 <bjorn@mork.no>
9 years agoadd command done status to verbose output
Bjørn Mork [Wed, 8 Apr 2015 13:31:19 +0000 (15:31 +0200)]
add command done status to verbose output

Signed-off-by: Bjørn Mork <bjorn@mork.no>
9 years agofix subscriber response segfault
Bjørn Mork [Wed, 8 Apr 2015 13:31:18 +0000 (15:31 +0200)]
fix subscriber response segfault

Signed-off-by: Bjørn Mork <bjorn@mork.no>
9 years agofix build for 64 bit systems
John Crispin [Wed, 10 Dec 2014 05:22:21 +0000 (06:22 +0100)]
fix build for 64 bit systems

Signed-off-by: John Crispin <blogic@openwrt.org>
10 years agocleanup authprotocol handling
John Crispin [Mon, 8 Sep 2014 00:01:58 +0000 (02:01 +0200)]
cleanup authprotocol handling

Signed-off-by: John Crispin <blogic@openwrt.org>
10 years agoadd support for authproto/username/password
John Crispin [Sun, 24 Aug 2014 19:27:31 +0000 (21:27 +0200)]
add support for authproto/username/password

Signed-off-by: John Crispin <blogic@openwrt.org>
10 years agosanitize pincode properly
John Crispin [Sun, 24 Aug 2014 19:13:38 +0000 (21:13 +0200)]
sanitize pincode properly

Signed-off-by: John Crispin <blogic@openwrt.org>
10 years agoadd gpl license
John Crispin [Sun, 24 Aug 2014 18:47:21 +0000 (20:47 +0200)]
add gpl license

Signed-off-by: John Crispin <blogic@openwrt.org>
10 years agoinitial import
John Crispin [Thu, 14 Aug 2014 13:32:11 +0000 (15:32 +0200)]
initial import