[NET] ethtool: fix oops by testing correct struct member
authorJeff Garzik <jeff@garzik.org>
Mon, 17 Jul 2006 16:54:40 +0000 (12:54 -0400)
committerJeff Garzik <jeff@garzik.org>
Mon, 17 Jul 2006 16:54:40 +0000 (12:54 -0400)
commite1b90c416d6e6b71fc63974c1798e3cf55bba77f
tree3ae537a5af8ee37f21b169c3de45ae29eca7c80f
parent82d6897fefca6206bca7153805b4c5359ce97fc4
[NET] ethtool: fix oops by testing correct struct member

Noticed by Willy Tarreau.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
net/core/ethtool.c