diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-03-13 18:45:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-16 14:45:35 +0300 |
commit | bbf860ed710bacc0279c4cda2817f70e1200d04b (patch) | |
tree | cedf1de792dc0dc9c865e78960139b4b0e7f45fa /arch/mips/jazz | |
parent | a37eb61b6ec064ac794b8a1e89fd33eb582fe51d (diff) | |
download | linux-bbf860ed710bacc0279c4cda2817f70e1200d04b.tar.xz |
usb: gadget: Use correct endianness of the wLength field for WebUSB
WebUSB code uses wLength directly without proper endianness conversion.
Update it to use already prepared temporary variable w_length instead.
Fixes: 93c473948c58 ("usb: gadget: add WebUSB landing page support")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-By: Jó Ágila Bitsch <jgilab@gmail.com>
Link: https://lore.kernel.org/r/20230313154522.52684-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/jazz')
0 files changed, 0 insertions, 0 deletions