OSDN Git Service

iwlwifi: pcie: fix erroneous "Read failed message"
authorSara Sharon <sara.sharon@intel.com>
Mon, 20 Nov 2017 09:37:18 +0000 (11:37 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Sat, 25 Nov 2017 15:11:20 +0000 (17:11 +0200)
commitf3402d6d8eb084f6c2563dee1a09385b7c0ea2d5
tree8913e1c6fa8eb0bcd9382a8e6b9e473b21bb1f54
parentb13f43a48571f0cd0fda271b5046b65f1f268db5
iwlwifi: pcie: fix erroneous "Read failed message"

Current pci dumping code code is always falling to the error
path, resulting with a constant "Read failed" message, also
for the successful reads.

Fixes: a5c932e41fdd ("iwlwifi: pcie: dump registers when HW becomes inaccessible")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans.c