From: Ben Greear Comment one of them out, and make another WARN_ONCE. Signed-off-by: Ben Greear --- net/mac80211/link.c | 1 - net/mac80211/util.c | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/mac80211/link.c b/net/mac80211/link.c index 6125e79f67c9..e3a825ea3a04 100644 --- a/net/mac80211/link.c +++ b/net/mac80211/link.c @@ -544,7 +544,6 @@ static int _ieee80211_set_active_links(struct ieee80211_sub_if_data *sdata, ret = drv_change_sta_links(local, sdata, &sta->sta, old_active | active_links, active_links); - WARN_ON_ONCE(ret); /* * Do it again, just in case - the driver might very diff --git a/net/mac80211/util.c b/net/mac80211/util.c index ec11ee6b8752..df156f8b5211 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c @@ -1879,7 +1879,8 @@ int ieee80211_reconfig(struct ieee80211_local *local) if (suspended) WARN(1, "Hardware became unavailable upon resume. This could be a software issue prior to suspend or a hardware issue.\n"); else - WARN(1, "Hardware became unavailable during restart.\n"); + WARN_ONCE(1, "Hardware became unavailable during restart: %d\n", res); + ieee80211_wake_queues_by_reason(hw, IEEE80211_MAX_QUEUE_MAP, IEEE80211_QUEUE_STOP_REASON_SUSPEND, false); -- 2.42.0