Skip to content

wifi: mt76: disable rx napi before queue cleanup#1085

Open
legale wants to merge 1 commit into
openwrt:masterfrom
legale:rmmod-fix
Open

wifi: mt76: disable rx napi before queue cleanup#1085
legale wants to merge 1 commit into
openwrt:masterfrom
legale:rmmod-fix

Conversation

@legale
Copy link
Copy Markdown

@legale legale commented May 9, 2026

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 the warning.

Disable each rx napi instance before netif_napi_del() and page pool destruction. This patch fixes repeated rmmod mt7915e warnings on mt7915e/mt7981b.

Comment thread dma.c Outdated
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 the warning.

Disable each rx napi instance before netif_napi_del() and page pool
destruction. This patch fixes repeated `rmmod mt7915e` warnings on mt7915e/mt7981b.

Signed-off-by: Ruslan Isaev <legale.legale@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants