iwlwifi: pcie: fix erroneous return value
authorAnton Protopopov <a.s.protopopov@gmail.com>
Thu, 11 Feb 2016 06:35:15 +0000 (08:35 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 15 Feb 2016 11:38:31 +0000 (13:38 +0200)
commit20aa99bbddae74bded68338f9ba200ccae02858b
tree2d3b32931b9cc5147b4131859894aeca4bc63216
parenta6bd005fe92dc1cc808c4c6aa43e3b2a8272bbfa
iwlwifi: pcie: fix erroneous return value

The iwl_trans_pcie_start_fw() function may return the positive value EIO
instead of -EIO in case of error.

Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans.c