You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
mac80211: let drivers wake but not start queues
Having drivers start queues is just confusing, their ->start() callback can block and do whatever is necessary, so let mac80211 start queues and have drivers wake queues when necessary (to get packets flowing again right away.) Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
c4680470a3
commit
36d6825b91
@@ -1599,7 +1599,7 @@ ath5k_txq_cleanup(struct ath5k_softc *sc)
|
||||
sc->txqs[i].link);
|
||||
}
|
||||
}
|
||||
ieee80211_start_queues(sc->hw); /* XXX move to callers */
|
||||
ieee80211_wake_queues(sc->hw); /* XXX move to callers */
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(sc->txqs); i++)
|
||||
if (sc->txqs[i].setup)
|
||||
|
||||
Reference in New Issue
Block a user