]> git.baikalelectronics.ru Git - 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)
commit70d38cef63333ae799620c90cce2af60500f88a7
tree34a085aed12e1dd542cd74e7327c36c6dfb02fc0
parent6a610a99e226e20604a6b2c61eded10463e723d5
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