]> err.no Git - linux-2.6/commit
b44: early return in dev->do_ioctl when the device is not up
authorFrancois Romieu <romieu@electric-eye.fr.zoreil.com>
Wed, 30 Nov 2005 21:32:13 +0000 (22:32 +0100)
committerFrancois Romieu <romieu@electric-eye.fr.zoreil.com>
Wed, 30 Nov 2005 21:32:13 +0000 (22:32 +0100)
commit3410572d519b6c68505f746f25033de97809eaa1
tree5767b8a1108ecff31e5cf637eb8cdf5d7f020ae0
parentd9e2d185bf01e20339158f77c3fca00b02014912
b44: early return in dev->do_ioctl when the device is not up

The device has not gone through a whole reset/init sequence until the
device is up. Accessing the mii interface before this point is not
safe.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
drivers/net/b44.c