[ Upstream commit d943fdad7589653065be0e20aadc6dff37725ed4 ] Similar to the same bug in ath10k, a napi disable w/out it being enabled will hang forever. I believe I saw this while trying rmmod after driver had some failure on startup. Fix it by keeping state on whether napi is enabled or not. And, remove un-used napi pointer in ath11k driver base struct. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20200903195254.29379-1-greearb@candelatech.com Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| ahb.c | ||
| ahb.h | ||
| ce.c | ||
| ce.h | ||
| core.c | ||
| core.h | ||
| dbring.c | ||
| dbring.h | ||
| debug.c | ||
| debug.h | ||
| debugfs.c | ||
| debugfs.h | ||
| debugfs_htt_stats.c | ||
| debugfs_htt_stats.h | ||
| debugfs_sta.c | ||
| debugfs_sta.h | ||
| dp.c | ||
| dp.h | ||
| dp_rx.c | ||
| dp_rx.h | ||
| dp_tx.c | ||
| dp_tx.h | ||
| hal.c | ||
| hal.h | ||
| hal_desc.h | ||
| hal_rx.c | ||
| hal_rx.h | ||
| hal_tx.c | ||
| hal_tx.h | ||
| hif.h | ||
| htc.c | ||
| htc.h | ||
| hw.c | ||
| hw.h | ||
| mac.c | ||
| mac.h | ||
| mhi.c | ||
| mhi.h | ||
| pci.c | ||
| pci.h | ||
| peer.c | ||
| peer.h | ||
| qmi.c | ||
| qmi.h | ||
| reg.c | ||
| reg.h | ||
| rx_desc.h | ||
| spectral.c | ||
| spectral.h | ||
| testmode.c | ||
| testmode.h | ||
| testmode_i.h | ||
| thermal.c | ||
| thermal.h | ||
| trace.c | ||
| trace.h | ||
| wmi.c | ||
| wmi.h | ||