sky2: fix oops on shutdown
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 11 May 2007 18:21:44 +0000 (11:21 -0700)
committerJeff Garzik <jeff@garzik.org>
Fri, 11 May 2007 21:53:33 +0000 (17:53 -0400)
If the device is fails during module startup for some reason like
unsupported chip version then the driver would crash dereferencing a
null pointer, on shutdown or suspend/resume.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

No differences found