ath10k: simplify ath10k_ce_init() wake up handling
authorKalle Valo <kvalo@qca.qualcomm.com>
Sun, 1 Sep 2013 07:02:15 +0000 (10:02 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 3 Sep 2013 06:49:08 +0000 (09:49 +0300)
commite9780367b0f43536b460fd83931f7c111ec99470
tree3c518d992b0e1aae2557c0d0df14d0c4367ec83d
parent3aebe54b1c2158bd20c361501de7785c51c65dbe
ath10k: simplify ath10k_ce_init() wake up handling

ath10k_ce_init() and the functions it calls wakeup
the chip multiple times. Simplify that to call
ath10k_pci_wake() only once. This also makes it
easier to add error handling when wakeup fails.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/ce.c