diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-04-02 16:59:01 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:35:14 -0700 |
commit | 1e799babb6f37b2d52f1a0a3bfaf85c0405cf10a (patch) | |
tree | 996f2d690ef87ebd637e89e335cc0c484b7e3b90 | |
parent | 4ef51da90ceec73aafacf32d1eba427236763ce1 (diff) |
[PATCH] put config info in db for netdev
Small change, to put the config informations for handled network
interfaces into the database.
-rw-r--r-- | namedev.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -850,13 +850,13 @@ int namedev_name_device(struct sysfs_class_device *class_dev, struct udevice *ud found: apply_format(udev, udev->name, sizeof(udev->name), class_dev, sysfs_device); + strfieldcpy(udev->config_file, dev->config_file); + udev->config_line = dev->config_line; if (udev->type == 'n') goto done; udev->partitions = dev->partitions; - strfieldcpy(udev->config_file, dev->config_file); - udev->config_line = dev->config_line; /* get permissions given in rule */ set_empty_perms(udev, dev->mode, |