Remove /dev/net/stack entry skip, as we don't have such entry anymore

since long ago already.
Keep the userland_server one, because, maybe, one day...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39575 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin 2010-11-22 19:22:26 +00:00
parent 384fe02234
commit 37426cbf26

View File

@ -120,7 +120,7 @@ ethernet_init(const char *name, net_device **_device)
{
// make sure this is a device in /dev/net, but not the
// networking (userland) stack driver
if (strncmp(name, "/dev/net/", 9) || !strcmp(name, "/dev/net/stack")
if (strncmp(name, "/dev/net/", 9)
|| !strcmp(name, "/dev/net/userland_server"))
return B_BAD_VALUE;