]> git.karo-electronics.de Git - linux-beck.git/commit
ath10k: guard against CE corruption from firmware
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 8 Nov 2013 07:01:32 +0000 (08:01 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 12 Nov 2013 18:06:46 +0000 (20:06 +0200)
commit2415fc16391af204170f5478072fb1a2c66b87f3
tree123a57723661920c8bb800176f6000f2a19a29d5
parent28642f428100fa602d08714d0005b6a5a4e47e9b
ath10k: guard against CE corruption from firmware

In case firmware crashes it may report CE
completions for entries that were never
submitted/filled with meaningful data. This in
turn led to NULL dereferences.

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