commit | af3f2f740173f8b5c61dba46f900998c5984ccd9 | [log] [tgz] |
---|---|---|
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Thu Jun 04 09:51:11 2015 +0300 |
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Wed Jul 08 05:18:03 2015 +0300 |
tree | 7fe52f1d3080681d794b06ae8b7615dc699a4dbb | |
parent | 66337b7c67f6237720ba13f6d41b9d8dbcb59cda [diff] |
iwlwifi: pcie: don't panic if pcie transport alloc fails iwl_trans_pcie_alloc needs to return a non-zero value if it fails. Otherwise the iwl_drv_start will think that the allocation succeeded. Remove the duplication of err and ret variable and use ret which is the name we usually use in other places of the driver. Fixes: c278754a21e6 ("iwlwifi: mvm: support family 8000 B2/C steps") CC: <stable@vger.kernel.org> [4.1] Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>