From: Gabor Juhos Date: Wed, 14 Jan 2009 19:17:11 +0000 (+0100) Subject: ath9k: fix null pointer dereference in ani monitor code X-Git-Tag: v2.6.30-rc1~662^2~836^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9950688263dcd74560582f590d270728f4e92ed0;p=pandora-kernel.git ath9k: fix null pointer dereference in ani monitor code In 'ath9k_ani_reset' the 'ahp->ah_curani' will be initialized only if 'DO_ANI(ah)' true. In 'ath9k_hw_ani_monitor' we are using 'ahp->ah_curani' unconditionally, and it will cause a NULL pointer dereference on AR9100. Changes-licensed-under: ISC Signed-off-by: Gabor Juhos Signed-off-by: Imre Kaloz Tested-by: Pavel Roskin Signed-off-by: John W. Linville --- Reading git-diff-tree failed