From: Bjørn Mork
Date: Wed, 15 Nov 2017 09:35:02 +0100
> The GetNtbFormat and SetNtbFormat requests operate on 16 bit little
> endian values. We get away with ignoring this most of the time, because
> we only care about USB_CDC_NCM_NTB16_FORMAT which is 0x. This
> fails for
g
Cc: Oliver Neukum <oli...@neukum.org>,
Ben Hutchings <ben.hutchi...@codethink.co.uk>, linux-...@vger.kernel.org,
Bjørn Mork <bj...@mork.no>, Enrico Mioso <mrkiko...@gmail.com>,
Christian Panton <christ...@panton.org>
Subject: [PATCH net,stable] net: cdc_ncm:
The GetNtbFormat and SetNtbFormat requests operate on 16 bit little
endian values. We get away with ignoring this most of the time, because
we only care about USB_CDC_NCM_NTB16_FORMAT which is 0x. This
fails for USB_CDC_NCM_NTB32_FORMAT.
Fix comparison between LE value from device and