OSDN Git Service

iwlwifi: mvm: don't WARN if we can't remove a time event
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 11 Apr 2021 10:25:39 +0000 (13:25 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 14 Apr 2021 09:07:20 +0000 (12:07 +0300)
commit997254a9169c9a8fab1c8408db4ef64a4081f4ce
treeeae90b55c37470351d3f7d0bd71586c659c482fd
parentcc61d3ced2aac08230f20809378c5e3134f6702d
iwlwifi: mvm: don't WARN if we can't remove a time event

It is not very useful to WARN if we can't send a host command
The firmware is likely in a bad situation and the fact that
we didn't send the host command has an impact on the firmware
only, not on the driver. The driver could clean up all its
state.

Don't WARN in this case, but just leave a smaller note.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210411132130.0324abc169c8.I4f9b769bc38d68f8ed43f77d2cd75e8f1993e964@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c