]> git.karo-electronics.de Git - linux-beck.git/commit
ath10k: fix NULL deref upon early FW crash
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 16 Oct 2013 13:46:05 +0000 (16:46 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 21 Oct 2013 13:41:18 +0000 (16:41 +0300)
commit5e90de860bc2d82dcb73caef86c05cb49c2b5792
tree17976eed4770db1effb87bfb69530a2c0fb371fc
parentc4340c26d63550eaedcc3440f6ba78d6d4c451d4
ath10k: fix NULL deref upon early FW crash

If firmware crashes during FW probing it would try
to perform FW recovery which uses mac80211
workqueue before registering to mac80211.

Using internal workqueue solves the problem.

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/pci.c