aqc111: fix double endianness swap on BE
authorOliver Neukum <oneukum@suse.com>
Thu, 9 May 2019 09:08:18 +0000 (11:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 May 2019 16:35:40 +0000 (09:35 -0700)
commit2cf672709beb005f6e90cb4edbed6f2218ba953e
tree374981415b60d03859a6c8e8b3af81a203ce42be
parent369b46e9fbcfa5136f2cb5f486c90e5f7fa92630
aqc111: fix double endianness swap on BE

If you are using a function that does a swap in place,
you cannot just reuse the buffer on the assumption that it has
not been changed.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/aqc111.c