]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: make sure d3_suspend/resume ops exist
authorEliad Peller <eliadx.peller@intel.com>
Thu, 30 Jul 2015 13:53:27 +0000 (16:53 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 16 Aug 2015 07:14:31 +0000 (10:14 +0300)
commit744a55455c41193ea493880ac13c9c278ccd160b
tree4c558dfd7bae315d8ea55db84c6bece96dfddbbe
parentf2640ebf2e8257c01e1d8af2d52646340a8e0472
iwlwifi: make sure d3_suspend/resume ops exist

We added calls to d3_suspend/resume trans ops during the
suspend/resume flow.

However, the wrapper code didn't verify the trans ops were
actually defined, resulting in panic when they were not
(such as in the case of sdio trans)

Fixes: 67075c91cd47 ("iwlwifi: call d3_suspend/resume in d0i3 case as well")
Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-trans.h