]> err.no Git - linux-2.6/commit
[PATCH] hostap: Fix null pointer dereference in prism2_pccard_card_present()
authorKalle Valo <Kalle.Valo@iki.fi>
Sun, 28 Aug 2005 19:46:57 +0000 (22:46 +0300)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 28 Aug 2005 23:25:02 +0000 (19:25 -0400)
commita8eef8a22232e64be76410100c52038b21bda7ed
tree100c6e7d12bea013586d540b3d8ca27c451af049
parent6c5b90d2c84d557baed56e71729504b467ff3e5b
[PATCH] hostap: Fix null pointer dereference in prism2_pccard_card_present()

With my Buffalo WLI-CF-S11G PC Card kernel oopses every time in
prism2_interrupt() when I try load the hostap module. local->hw_priv is null
during the first call to prism2_interrupt(). It feels like
interrupts are enabled too early, or something.

This patch fixes the symptom, but not the cause.

Signed-off-by: Kalle Valo <Kalle.Valo@iki.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/wireless/hostap/hostap_cs.c