summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath11k/qmi.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-12-16 11:31:19 +0300
committerKalle Valo <kvalo@codeaurora.org>2020-12-17 08:48:07 +0200
commit9b09456258ea2f35fc8a99c4ac4829dcba0ca4be (patch)
tree1b46cb7ed42a954f7a4a8a3372d1435d513f3858 /drivers/net/wireless/ath/ath11k/qmi.c
parentaa44b2f3ecd41f90b7e477158036648a49d21a32 (diff)
ath11k: Fix error code in ath11k_core_suspend()
The "if (!ret)" condition is inverted and it should be "if (ret)". It means that we return success when we had intended to return an error code. This also caused a spurious warning even when the suspend was successful: [ 297.186612] ath11k_pci 0000:06:00.0: failed to suspend hif: 0 Fixes: d1b0c33850d2 ("ath11k: implement suspend for QCA6390 PCI devices") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/X9nF17L2/EKOSbn/@mwanda
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/qmi.c')
0 files changed, 0 insertions, 0 deletions