r6040: call napi_disable when puting down the interface and set lp->dev accordingly.
authorFlorian Fainelli <florian.fainelli@telecomint.eu>
Sun, 13 Jul 2008 12:32:45 +0000 (14:32 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 22 Jul 2008 23:59:22 +0000 (19:59 -0400)
commit129cf9a7028fc50b226b8021bc0b76fb38efa81d
tree0ae6da9a3bedfbfa7838ca3fce42841c18af76dd
parentf2ca60f2067958e45f949e74abd580715c6c4b33
r6040: call napi_disable when puting down the interface and set lp->dev accordingly.

We did not call napi_disabled when putting down the interface
which should be done. Finally initialize lp->dev when everything
is set.

Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/r6040.c