public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* Ath5k panic fix
@ 2007-09-03 18:35 Krzysztof Halasa
  0 siblings, 0 replies; only message in thread
From: Krzysztof Halasa @ 2007-09-03 18:35 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: John W. Linville, Andrew Morton, linux-kernel, netdev

Ath5k panics on ath_open() because sc->pdev is never set, fixed.

Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>

--- a/drivers/net/wireless/ath5k_base.c
+++ b/drivers/net/wireless/ath5k_base.c
@@ -2295,6 +2295,7 @@ static int __devinit ath_pci_probe(struct pci_dev *pdev,
 	hw->max_rssi = 127; /* FIXME: get a real value for this. */
 	sc = hw->priv;
 	sc->hw = hw;
+	sc->pdev = pdev;
 
 	/*
 	 * Mark the device as detached to avoid processing

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-03 18:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-03 18:35 Ath5k panic fix Krzysztof Halasa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox