File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
drivers/net/wireless/intel/iwlwifi/mvm Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -785,7 +785,9 @@ void iwl_mvm_rx_session_protect_notif(struct iwl_mvm *mvm,
785
785
if (!le32_to_cpu (notif -> status )) {
786
786
iwl_mvm_te_check_disconnect (mvm , vif ,
787
787
"Session protection failure" );
788
+ spin_lock_bh (& mvm -> time_event_lock );
788
789
iwl_mvm_te_clear_data (mvm , te_data );
790
+ spin_unlock_bh (& mvm -> time_event_lock );
789
791
}
790
792
791
793
if (le32_to_cpu (notif -> start )) {
@@ -801,7 +803,9 @@ void iwl_mvm_rx_session_protect_notif(struct iwl_mvm *mvm,
801
803
*/
802
804
iwl_mvm_te_check_disconnect (mvm , vif ,
803
805
"No beacon heard and the session protection is over already..." );
806
+ spin_lock_bh (& mvm -> time_event_lock );
804
807
iwl_mvm_te_clear_data (mvm , te_data );
808
+ spin_unlock_bh (& mvm -> time_event_lock );
805
809
}
806
810
807
811
goto out_unlock ;
You can’t perform that action at this time.
0 commit comments