summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-10-07 21:40:01 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:37:04 -0700
commitf35fb62819d017880d6008b65179a3528eaba623 (patch)
tree92d8e534c3ff4aad4424a59fb49476e38fb87a99
parentbab16df879b33e9dd33e37c12581d60cbfb6fe71 (diff)
[PATCH] hm, somethings odd with DEVPATH, see if this fixes it...
-rw-r--r--dev_d.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev_d.c b/dev_d.c
index eaf9b1dc12..050df7bbec 100644
--- a/dev_d.c
+++ b/dev_d.c
@@ -96,8 +96,9 @@ 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);