Message ID | 20191108194210.23618-3-greearb@candelatech.com (mailing list archive) |
---|---|
State | Rejected |
Delegated to: | Johannes Berg |
Headers | show |
Series | Ben's grab bag of mac80211 patches | expand |
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))) {