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

Commit e198f5e7 authored by Arik Nemtsov's avatar Arik Nemtsov Committed by Emmanuel Grumbach
Browse files

iwlwifi: mvm: disconnect TDLS peers before channel switch



In case of channel switch, we need to teardown the TDLS peers.

Signed-off-by: default avatarArik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent 339b3086
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3245,6 +3245,9 @@ static int iwl_mvm_pre_channel_switch(struct ieee80211_hw *hw,
	if (ret)
		goto out_unlock;

	/* we won't be on this channel any longer */
	iwl_mvm_teardown_tdls_peers(mvm);

out_unlock:
	mutex_unlock(&mvm->mutex);