]> err.no Git - linux-2.6/commit
[PATCH] DM9000 - incorrect ioctl() handling
authorBen Dooks <ben-netdev@fluff.org>
Sat, 23 Jul 2005 16:29:38 +0000 (17:29 +0100)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 18 Aug 2005 20:59:14 +0000 (16:59 -0400)
commit2ae2d77cfa424587014cb34a89eed0ff2149fd5c
treedb587b806019155a84b7e1411f398863c5fdf81f
parent9ef9ac51cc5fa5f5811230b5fb242536b636ff47
[PATCH] DM9000 - incorrect ioctl() handling

The DM9000 driver is responding to ioctl() calls it should not be. This
can cause problems with the wireless tools incorrectly indentifying the
device as wireless capable, and crashing under certain operations.

This patch also moves the version printk() to the init call, so that
you only get it once for multiple devices, and to show it is loaded
if there are no defined dm9000s

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/dm9000.c