Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7584f88f authored by Eliad Peller's avatar Eliad Peller Committed by Johannes Berg
Browse files

mac80211: clear local->in_reconfig on reconfig error



If reconfiguration fails, local->in_reconfig is never
cleaned, resulting in rx frames being dropped next
time the device is started.

Signed-off-by: default avatarEliad Peller <eliadx.peller@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 6513e98e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1665,6 +1665,7 @@ static void ieee80211_handle_reconfig_failure(struct ieee80211_local *local)
	local->resuming = false;
	local->suspended = false;
	local->started = false;
	local->in_reconfig = false;

	/* scheduled scan clearly can't be running any more, but tell
	 * cfg80211 and clear local state