]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 Jul 2022 10:55:14 +0000 (12:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 Jul 2022 10:55:14 +0000 (12:55 +0200)
added patches:
mt7601u-add-usb-device-id-for-some-versions-of-xiaodu-wifi-dongle.patch

queue-5.4/mt7601u-add-usb-device-id-for-some-versions-of-xiaodu-wifi-dongle.patch [new file with mode: 0644]
queue-5.4/series

diff --git a/queue-5.4/mt7601u-add-usb-device-id-for-some-versions-of-xiaodu-wifi-dongle.patch b/queue-5.4/mt7601u-add-usb-device-id-for-some-versions-of-xiaodu-wifi-dongle.patch
new file mode 100644 (file)
index 0000000..c3a5b1d
--- /dev/null
@@ -0,0 +1,32 @@
+From 829eea7c94e0bac804e65975639a2f2e5f147033 Mon Sep 17 00:00:00 2001
+From: Wei Mingzhi <whistler@member.fsf.org>
+Date: Sat, 19 Jun 2021 00:08:40 +0800
+Subject: mt7601u: add USB device ID for some versions of XiaoDu WiFi Dongle.
+
+From: Wei Mingzhi <whistler@member.fsf.org>
+
+commit 829eea7c94e0bac804e65975639a2f2e5f147033 upstream.
+
+USB device ID of some versions of XiaoDu WiFi Dongle is 2955:1003
+instead of 2955:1001. Both are the same mt7601u hardware.
+
+Signed-off-by: Wei Mingzhi <whistler@member.fsf.org>
+Acked-by: Jakub Kicinski <kubakici@wp.pl>
+Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
+Link: https://lore.kernel.org/r/20210618160840.305024-1-whistler@member.fsf.org
+Cc: Yan Xinyu <sdlyyxy@bupt.edu.cn>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/net/wireless/mediatek/mt7601u/usb.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/net/wireless/mediatek/mt7601u/usb.c
++++ b/drivers/net/wireless/mediatek/mt7601u/usb.c
+@@ -26,6 +26,7 @@ static const struct usb_device_id mt7601
+       { USB_DEVICE(0x2717, 0x4106) },
+       { USB_DEVICE(0x2955, 0x0001) },
+       { USB_DEVICE(0x2955, 0x1001) },
++      { USB_DEVICE(0x2955, 0x1003) },
+       { USB_DEVICE(0x2a5f, 0x1000) },
+       { USB_DEVICE(0x7392, 0x7710) },
+       { 0, }
index 889de1e6a151dd1c46af57a3a43c44d92dc6c58a..916037046259a275400a4b152ffdfcabb7a24953 100644 (file)
@@ -30,3 +30,4 @@ perf-symbol-correct-address-for-bss-symbols.patch
 sfc-disable-softirqs-for-ptp-tx.patch
 sctp-leave-the-err-path-free-in-sctp_stream_init-to-.patch
 arm-crypto-comment-out-gcc-warning-that-breaks-clang-builds.patch
+mt7601u-add-usb-device-id-for-some-versions-of-xiaodu-wifi-dongle.patch