mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 05:16:57 +00:00
wifi: mt76: disable rx napi before queue cleanup
mt76_dma_cleanup() already disables tx napi before deleting it, but it still removes rx napi instances while they can remain enabled on the normal device remove path. On mt7915 this triggers a warning. Disable each rx napi instance before netif_napi_del() and page pool destruction. This fixes repeated warnings on rmmod mt7915e on mt7915e/mt7981b. Signed-off-by: Ruslan Isaev <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
34064bd58b
commit
4ab8f2122d
Reference in New Issue
Block a user