From: Ben Greear <greearb@xxxxxxxxxxxxxxx> I saw a bunch of splats while reloading ath10k module, one splat is plenty. Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx> --- net/mac80211/rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 0e05ff037672..670ae0cecc33 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -4553,7 +4553,7 @@ void ieee80211_rx_napi(struct ieee80211_hw *hw, struct ieee80211_sta *pubsta, * The same happens when we're not even started, * but that's worth a warning. */ - if (WARN_ON(!local->started)) + if (WARN_ON_ONCE(!local->started)) goto drop; if (likely(!(status->flag & RX_FLAG_FAILED_PLCP_CRC))) { -- 2.20.1