]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ath9k: Return early for error conditions
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 30 Jan 2015 13:35:22 +0000 (19:05 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Feb 2015 13:30:55 +0000 (15:30 +0200)
commit13084c2d18bfee72594ba3a969dfdd972544e644
tree335886ad0d535862bec1f7306b294cfcf9355f23
parent4895efc9a11ba6a3089b42c5dd4aabf68e467d64
ath9k: Return early for error conditions

Do not try to cancel work instances and ANI when
the device is not present or WOW triggers are
not configured. Bail out early and use ath_err()
for such error conditions.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/wow.c