diff options
| author | Andy Shevchenko <[email protected]> | 2023-03-13 17:45:22 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-03-16 12:45:35 +0100 |
| commit | bbf860ed710bacc0279c4cda2817f70e1200d04b (patch) | |
| tree | cedf1de792dc0dc9c865e78960139b4b0e7f45fa /tools/testing/selftests/net/lib/py/netns.py | |
| parent | a37eb61b6ec064ac794b8a1e89fd33eb582fe51d (diff) | |
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 <[email protected]>
Tested-By: Jó Ágila Bitsch <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/netns.py')
0 files changed, 0 insertions, 0 deletions