mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-20 10:51:27 +00:00
27 lines
818 B
Diff
27 lines
818 B
Diff
From a81a59cd66a057efda4c3d5cea2d5c421a0372ff Mon Sep 17 00:00:00 2001
|
|
From: Evelyn Tsai <evelyn.tsai@mediatek.com>
|
|
Date: Thu, 3 Aug 2023 06:59:29 +0800
|
|
Subject: [PATCH 1/5] mac80211: mtk: avoid kernel warning of
|
|
check_flush_dependency
|
|
|
|
---
|
|
net/mac80211/main.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
|
|
index 769071a..740372f 100644
|
|
--- a/net/mac80211/main.c
|
|
+++ b/net/mac80211/main.c
|
|
@@ -1204,7 +1204,7 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
|
|
hw->queues = IEEE80211_MAX_QUEUES;
|
|
|
|
local->workqueue =
|
|
- alloc_ordered_workqueue("%s", 0, wiphy_name(local->hw.wiphy));
|
|
+ alloc_ordered_workqueue("%s", WQ_MEM_RECLAIM, wiphy_name(local->hw.wiphy));
|
|
if (!local->workqueue) {
|
|
result = -ENOMEM;
|
|
goto fail_workqueue;
|
|
--
|
|
2.18.0
|
|
|