mirror of
https://github.com/torvalds/linux.git
synced 2026-10-11 04:47:02 +02:00
wifi: iwlwifi: mvm: reset the smart fifo state upon FW stop
The smart fifo is a feature in the firmware configured by the driver. The driver keeps a state to remember what was the last configuration sent to the firmware. Obviously, if the firmware stops, we need to reconfigure the smart fifo. Since we didn't reset that state upon firmware stop, we thought the firmware is already properly configured and we didn't send the smart fifo configuration command as part of the init sequence. Reset the smart fifo state in iwl_mvm_stop_device() so that we will properly send the command during the init that will come later. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Link: https://patch.msgid.link/20260714165826.7d3c5efe2d1a.I16b23c328a677257257f695fa6f439e41fbcd081@changeid Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
This commit is contained in:
parent
974cbad4c8
commit
a51cc81312
|
|
@ -1535,6 +1535,7 @@ void iwl_mvm_stop_device(struct iwl_mvm *mvm)
|
|||
iwl_fw_cancel_timestamp(&mvm->fwrt);
|
||||
|
||||
clear_bit(IWL_MVM_STATUS_FIRMWARE_RUNNING, &mvm->status);
|
||||
mvm->sf_state = SF_UNINIT;
|
||||
|
||||
iwl_mvm_pause_tcm(mvm, false);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user