]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: propagate iwl_pcie_apm_init's status
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 27 Jun 2017 09:23:56 +0000 (12:23 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 29 Jun 2017 18:02:50 +0000 (21:02 +0300)
commit53658f5e408ed63aeac247bcc6a8c3e05c91132b
tree8abf7822a0f368b567d94783d16d4abfb1469a50
parentf22d94fe153606fdadb26181010658ef7670b5f3
iwlwifi: pcie: propagate iwl_pcie_apm_init's status

iwl_pcie_apm_init can fail so make sure that the caller
takes the status into account.
Also, ensure that the error that iwl_pcie_apm_init can emit
will appear in the kernel log by default.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans.c