summaryrefslogtreecommitdiffstats
path: root/net/wireless/trace.h
diff options
context:
space:
mode:
authorWang Zhao <wang.zhao@mediatek.com>2023-11-17 13:54:49 +0100
committerFelix Fietkau <nbd@nbd.name>2023-12-07 18:50:22 +0100
commit92184eae1d5ad804884e2c6e289d885b9e3194d1 (patch)
tree4ed95dbdf6b40b31ab364bfbd22e5c65a1e2db77 /net/wireless/trace.h
parentwifi: mt76: Convert to platform remove callback returning void (diff)
downloadlinux-92184eae1d5ad804884e2c6e289d885b9e3194d1.tar.xz
linux-92184eae1d5ad804884e2c6e289d885b9e3194d1.zip
wifi: mt76: mt7921s: fix workqueue problem causes STA association fail
The ieee80211_queue_work function queues work into the mac80211 local->workqueue, which is widely used for mac80211 internal work processes. In the mt76 driver, both the mt76-sido-status and mt76-sdio-net threads enqueue workers to the workqueue with this function. However, in some cases, when two workers are enqueued to the workqueue almost simultaneously, the second worker may not be scheduled immediately and may get stuck for a while. This can cause timing issues. To avoid these timing conflicts caused by worker scheduling, replace the worker with an independent thread. Fixes: 48fab5bbef40 ("mt76: mt7921: introduce mt7921s support") Signed-off-by: Wang Zhao <wang.zhao@mediatek.com> Signed-off-by: Deren Wu <deren.wu@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'net/wireless/trace.h')
0 files changed, 0 insertions, 0 deletions