mt76: mt76u: fix endpoint definition order
authorLorenzo Bianconi <lorenzo@kernel.org>
Sun, 17 Nov 2019 12:26:14 +0000 (14:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 26 Jan 2020 09:01:01 +0000 (10:01 +0100)
commit 23cb16d2ccb5f819d7acff602e5a153157bf2884 upstream.

Even if they are not currently used fix BK/BE endpoint definition order.

Fixes: b40b15e1521f ("mt76: add usb support to mt76 layer")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/mediatek/mt76/mt76.h

index 8aec7cc..653cdcb 100644 (file)
@@ -367,8 +367,8 @@ enum mt76u_in_ep {
 
 enum mt76u_out_ep {
        MT_EP_OUT_INBAND_CMD,
-       MT_EP_OUT_AC_BK,
        MT_EP_OUT_AC_BE,
+       MT_EP_OUT_AC_BK,
        MT_EP_OUT_AC_VI,
        MT_EP_OUT_AC_VO,
        MT_EP_OUT_HCCA,