提交 856a5c97 编写于 作者: M M Chetan Kumar 提交者: David S. Miller

net: wwan: iosm: fix uevent reporting

Change uevent env variable name to IOSM_EVENT & correct
reporting format to key=value pair.
Signed-off-by: NM Chetan Kumar <m.chetan.kumar@linux.intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 764a4af9
...@@ -37,7 +37,7 @@ void ipc_uevent_send(struct device *dev, char *uevent) ...@@ -37,7 +37,7 @@ void ipc_uevent_send(struct device *dev, char *uevent)
/* Store the device and event information */ /* Store the device and event information */
info->dev = dev; info->dev = dev;
snprintf(info->uevent, MAX_UEVENT_LEN, "%s: %s", dev_name(dev), uevent); snprintf(info->uevent, MAX_UEVENT_LEN, "IOSM_EVENT=%s", uevent);
/* Schedule uevent in process context using work queue */ /* Schedule uevent in process context using work queue */
schedule_work(&info->work); schedule_work(&info->work);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册