]> 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)
commit9be394b8608630f7feaff5625c6c4158f6bfacbe
tree34a085aed12e1dd542cd74e7327c36c6dfb02fc0
parent8b91ccdc2033c4e207d34d10988dad1304b05032
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