diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-01-14 20:17:11 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:34 -0500 |
commit | 9950688263dcd74560582f590d270728f4e92ed0 (patch) | |
tree | 51d73e7b3ca3224db65c42c33a495b2268c4844a /net/mac80211 | |
parent | 1975ef2039c63f58e6c80861a24236bcd0483aa9 (diff) | |
download | linux-9950688263dcd74560582f590d270728f4e92ed0.tar.bz2 |
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 <juhosg@openwrt.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Tested-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions