wifi: iwlwifi: don't silently ignore missing suspend or resume ops
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Wed, 24 May 2023 17:42:03 +0000 (20:42 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 6 Jun 2023 11:04:02 +0000 (13:04 +0200)
commitcad7850ac0f597cd462b263a6395c5cd0ad8e760
treef0f8697dc38defd1f1722a8830088ca47d3f7c49
parent0945f9762ec3766186a179f7ccd001a3e160e3a0
wifi: iwlwifi: don't silently ignore missing suspend or resume ops

In case the driver doesn't implement suspend or resume operations
on the transport layer, notify the driver's upper layer.
Otherwise, we might access d3_status uninitialized.

Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230524203151.0c55e0ca92f1.I6870fe1683215e65d3d036f9b576b03b7b7257be@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-trans.h