diff options
Diffstat (limited to 'drivers/base/firmware_class.c')
-rw-r--r-- | drivers/base/firmware_class.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index 26c9464af80a..97fe13f7f07c 100644 --- a/drivers/base/firmware_class.c +++ b/drivers/base/firmware_class.c | |||
@@ -102,6 +102,9 @@ firmware_class_hotplug(struct class_device *class_dev, char **envp, | |||
102 | if (add_hotplug_env_var(envp, num_envp, &i, buffer, buffer_size, &len, | 102 | if (add_hotplug_env_var(envp, num_envp, &i, buffer, buffer_size, &len, |
103 | "FIRMWARE=%s", fw_priv->fw_id)) | 103 | "FIRMWARE=%s", fw_priv->fw_id)) |
104 | return -ENOMEM; | 104 | return -ENOMEM; |
105 | if (add_hotplug_env_var(envp, num_envp, &i, buffer, buffer_size, &len, | ||
106 | "TIMEOUT=%i", loading_timeout)) | ||
107 | return -ENOMEM; | ||
105 | 108 | ||
106 | envp[i] = NULL; | 109 | envp[i] = NULL; |
107 | 110 | ||