uqmi: fix big endian bugs in MBIM code
authorBjørn Mork <bjorn@mork.no>
Tue, 23 Aug 2016 12:31:05 +0000 (14:31 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 24 Aug 2016 09:06:32 +0000 (11:06 +0200)
commiteb1dec7d0dc283a7f61aa574a443a0ab61f8793f
treecff8b23e3a2bef94ac6a0392f5f861de518cae68
parent5624e3f1772edc9cd46c10a795d27d570314a44a
uqmi: fix big endian bugs in MBIM code

All MBIM integer fields are 32bit little endian.  So we need to convert
then all on big endian systems.

Fixes: e69bf24b00d8 ("uqmi: add support for MBIM devices with QMI service")
Signed-off-by: Bjørn Mork <bjorn@mork.no>
mbim.c