]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ath9k: Fix NULL pointer dereference on early irq
authorWojciech Dubowik <Wojciech.Dubowik@neratec.com>
Thu, 18 Sep 2014 06:30:41 +0000 (08:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Sep 2014 20:02:15 +0000 (16:02 -0400)
commit2ba7d144d39a596cf5d09390ee7de21cfb69cf2b
tree34a085aed12e1dd542cd74e7327c36c6dfb02fc0
parentfa5c107cc887886a04ee2dbce05af86de220ae48
ath9k: Fix NULL pointer dereference on early irq

The ah struct might not have been initialized when
interrupt comes so check for it.

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c