File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
drivers/net/wireless/intel/iwlwifi/mvm Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1166,15 +1166,10 @@ void iwl_mvm_schedule_session_protection(struct iwl_mvm *mvm,
11661166 cpu_to_le32 (FW_CMD_ID_AND_COLOR (mvmvif -> id ,
11671167 mvmvif -> color )),
11681168 .action = cpu_to_le32 (FW_CTXT_ACTION_ADD ),
1169+ .conf_id = cpu_to_le32 (SESSION_PROTECT_CONF_ASSOC ),
11691170 .duration_tu = cpu_to_le32 (MSEC_TO_TU (duration )),
11701171 };
11711172
1172- /* The time_event_data.id field is reused to save session
1173- * protection's configuration.
1174- */
1175- mvmvif -> time_event_data .id = SESSION_PROTECT_CONF_ASSOC ;
1176- cmd .conf_id = cpu_to_le32 (mvmvif -> time_event_data .id );
1177-
11781173 lockdep_assert_held (& mvm -> mutex );
11791174
11801175 spin_lock_bh (& mvm -> time_event_lock );
@@ -1188,6 +1183,11 @@ void iwl_mvm_schedule_session_protection(struct iwl_mvm *mvm,
11881183 }
11891184
11901185 iwl_mvm_te_clear_data (mvm , te_data );
1186+ /*
1187+ * The time_event_data.id field is reused to save session
1188+ * protection's configuration.
1189+ */
1190+ te_data -> id = le32_to_cpu (cmd .conf_id );
11911191 te_data -> duration = le32_to_cpu (cmd .duration_tu );
11921192 spin_unlock_bh (& mvm -> time_event_lock );
11931193
You can’t perform that action at this time.
0 commit comments