mt76: usb: fix endian in mt76u_copy
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 9 Jul 2019 15:14:54 +0000 (17:14 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 5 Sep 2019 15:42:29 +0000 (17:42 +0200)
commitb229bf7d30d67c2640073b63ad8afff503630578
treee6bb673481436a31d084e5e55de4db496a156ccc
parent820e4da1746f999c91fbfcb320ac91c6a17b9777
mt76: usb: fix endian in mt76u_copy

In contrast to mt76_wr() which we use to program registers,
on mt76_wr_copy() we should not change endian of the data.

Fixes: b40b15e1521f ("mt76: add usb support to mt76 layer")
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/usb.c