ath10k: re-arrange PCI init code
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 8 Nov 2013 07:01:33 +0000 (08:01 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 12 Nov 2013 18:06:46 +0000 (20:06 +0200)
commit98563d5aafa45498f8c2f6885b2bd03eab648f19
treec2b9a57aa4db760f4beb03894f6c8d267510ad36
parent2415fc16391af204170f5478072fb1a2c66b87f3
ath10k: re-arrange PCI init code

This patch moves irq registering after necessary
structures have been allocated and initialized.
This should prevent interrupts from causing
tasklet access invalid memory pointers.

Reported-By: Ben Greear <greearb@candelatech.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/ce.c
drivers/net/wireless/ath/ath10k/ce.h
drivers/net/wireless/ath/ath10k/pci.c