forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bot] AutoMerging: merge all upstream's changes:
* https://github.com/coolsnowwolf/lede: mac80211: add rt2x00 5.19 kernel support kernel: refresh 5.19 patch (coolsnowwolf#9943) kernel: refresh 5.15 patch (coolsnowwolf#9944) rockchip: set rockchip_setup_macs for NanoPi R5S rockchip: add FriendlyElec NanoPi R5S support
- Loading branch information
Showing
11 changed files
with
53 additions
and
18 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
package/kernel/mac80211/patches/rt2x00/999-backport-to-linux-5.18.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- a/drivers/net/wireless/ralink/rt2x00/rt2x00usb.c | ||
+++ b/drivers/net/wireless/ralink/rt2x00/rt2x00usb.c | ||
@@ -586,10 +586,18 @@ static void rt2x00usb_assign_endpoint(struct data_queue *queue, | ||
|
||
if (queue->qid == QID_RX) { | ||
pipe = usb_rcvbulkpipe(usb_dev, queue->usb_endpoint); | ||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,19,0) | ||
queue->usb_maxpacket = usb_maxpacket(usb_dev, pipe, 0); | ||
+#else | ||
+ queue->usb_maxpacket = usb_maxpacket(usb_dev, pipe); | ||
+#endif | ||
} else { | ||
pipe = usb_sndbulkpipe(usb_dev, queue->usb_endpoint); | ||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,19,0) | ||
queue->usb_maxpacket = usb_maxpacket(usb_dev, pipe, 1); | ||
+#else | ||
+ queue->usb_maxpacket = usb_maxpacket(usb_dev, pipe); | ||
+#endif | ||
} | ||
|
||
if (!queue->usb_maxpacket) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
target/linux/rockchip/patches-5.15/208-rockchip-rk3399-add-support-for-GuangMiao-G4C.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters