]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
ath10k: fix null deref if device crashes early
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 17 Mar 2016 09:52:08 +0000 (10:52 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 21 Mar 2016 16:31:03 +0000 (18:31 +0200)
commit8866c727440d5b059637cb97927e383548099e8c
tree75aee152e29208f5395b8d9889824403ff54f5c2
parent750eeed89cf3c466df302e4707491b015531e26c
ath10k: fix null deref if device crashes early

If device failed to init during early probing
(which is quite rare) it triggered driver to
compute crc before ar->firmware was ready causing
an oops.

Fixes: 3e58044b61a9 ("ath10k: print crc32 checksums for firmware and board files")
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c