r6040: fix null pointer access and tx timeouts
authorFlorian Fainelli <florian.fainelli@telecomint.eu>
Sun, 13 Jul 2008 12:28:27 +0000 (14:28 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 22 Jul 2008 23:56:29 +0000 (19:56 -0400)
commit3d25434816356e8d1e3167c5f7a56d3d81aeb239
tree5a0f658324549defcaf2090141276996a2065df1
parentc6e69bb92ed6e22a0931e29daff6539f2bac29b9
r6040: fix null pointer access and tx timeouts

This patch fixes a null pointer access in r6040_rx due
to lp->dev not being initialized.

Fix the TX timeouts, TX irq was not re-enabled on RX irq

Signed-Off-By: Joerg Albert <jal2@gmx.de>
Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/r6040.c