mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 17:44:14 +08:00
net: wwan: iosm: fix uevent reporting
Change uevent env variable name to IOSM_EVENT & correct reporting format to key=value pair. Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
764a4af9f0
commit
856a5c9726
@ -37,7 +37,7 @@ void ipc_uevent_send(struct device *dev, char *uevent)
|
||||
|
||||
/* Store the device and event information */
|
||||
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_work(&info->work);
|
||||
|
Loading…
Reference in New Issue
Block a user