mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: trigger beacon stuck detection faster
Check against number of active beacon interfaces instead of maximum number of interfaces Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+2
-1
@@ -148,7 +148,8 @@ void mt7603_pre_tbtt_tasklet(unsigned long arg)
|
||||
|
||||
out:
|
||||
mt76_queue_tx_cleanup(dev, MT_TXQ_BEACON, false);
|
||||
if (dev->mt76.q_tx[MT_TXQ_BEACON].queued > MT7603_MAX_INTERFACES)
|
||||
if (dev->mt76.q_tx[MT_TXQ_BEACON].queued >
|
||||
__sw_hweight8(dev->beacon_mask))
|
||||
dev->beacon_check++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user