ath10k: fix erroneous return value
authorAnton Protopopov <a.s.protopopov@gmail.com>
Wed, 10 Feb 2016 16:58:55 +0000 (11:58 -0500)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 3 Mar 2016 17:20:01 +0000 (19:20 +0200)
commit22baa98097df3eb92a51e8661fda5dd7c0f1eb93
treeabbca117d3ff7cab95053cb08e02985a9cd46342
parent18353749170033405790ed62a3ae2aa2d3d8a82a
ath10k: fix erroneous return value

The ath10k_pci_hif_exchange_bmi_msg() 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: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c