]> git.karo-electronics.de Git - linux-beck.git/commit
ath10k: fix core init failpath
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 8 Nov 2013 07:05:18 +0000 (08:05 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 12 Nov 2013 18:08:50 +0000 (20:08 +0200)
commit67e3c63fef6041f41e22335852de9d3924cff7a1
treef91637a37ccac23d381d9ae3907a685598de97f3
parent6a42a47e23acdcbc97aac925b5a14d1b187606cf
ath10k: fix core init failpath

HIF was not stopped properly in
ath10k_core_start() upon failure. This could cause
memory leaks of CE completions entries and
possibly other issues as well.

Move the HIF start/stop out of
ath10k_htc_wait_target(). The ctl_resp completion
is already prepared in ath10k_htc_init.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/htc.c