]> err.no Git - systemd/commitdiff
[PATCH] Revert previous dev_d.c change, it's not what is causing HAL problems.
authorgreg@kroah.com <greg@kroah.com>
Fri, 8 Oct 2004 05:26:02 +0000 (22:26 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:37:04 +0000 (21:37 -0700)
Cset exclude: greg@kroah.com|ChangeSet|20041007204001|14326

dev_d.c

diff --git a/dev_d.c b/dev_d.c
index 050df7bbec000440da61582156787425ed155f55..eaf9b1dc12c7ecef5364a373041f380f5d964d89 100644 (file)
--- a/dev_d.c
+++ b/dev_d.c
@@ -96,9 +96,8 @@ void dev_d_send(struct udevice *dev, const char *subsystem, const char *devpath)
                strfieldcat(env_devname, dev->name);
        } else if (dev->type == 'n') {
                strfieldcpy(env_devname, dev->name);
+               setenv("DEVPATH", devpath, 1);
        }
-
-       setenv("DEVPATH", devpath, 1);
        setenv("DEVNAME", env_devname, 1);
        dbg("DEVNAME='%s'", env_devname);