]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit52b6e168ae579483d71621e4d64d6491e8973e91
tree8abf7822a0f368b567d94783d16d4abfb1469a50
parent51da3d8b94485a8397ae7af3bfdb65feaf582202
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