mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-03 13:09:11 +08:00
iwlwifi: mvm: disconnect TDLS peers before channel switch
In case of channel switch, we need to teardown the TDLS peers. Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
committed by
Emmanuel Grumbach
parent
339b30864e
commit
e198f5e76f
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user