1
0
mirror of https://github.com/cjdelisle/openwrt.git synced 2025-10-12 15:54:56 +00:00
Files
openwrt/package/kernel/mac80211/patches/build/240-realtek-rtw88-BH-workqueue.patch
Felix Fietkau e005cdea10 mac80211: update to version 6.16
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-08-13 11:06:12 +02:00

15 lines
471 B
Diff

--- a/drivers/net/wireless/realtek/rtw88/usb.c
+++ b/drivers/net/wireless/realtek/rtw88/usb.c
@@ -965,7 +965,11 @@ static int rtw_usb_init_rx(struct rtw_de
struct sk_buff *rx_skb;
int i;
+#if LINUX_VERSION_IS_GEQ(6,9,0)
rtwusb->rxwq = alloc_workqueue("rtw88_usb: rx wq", WQ_BH, 0);
+#else
+ rtwusb->rxwq = create_singlethread_workqueue("rtw88_usb: rx wq");
+#endif
if (!rtwusb->rxwq) {
rtw_err(rtwdev, "failed to create RX work queue\n");
return -ENOMEM;