Skip to content

Commit 856a5c9

Browse files
mchetankumardavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 764a4af commit 856a5c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wwan/iosm/iosm_ipc_uevent.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void ipc_uevent_send(struct device *dev, char *uevent)
3737

3838
/* Store the device and event information */
3939
info->dev = dev;
40-
snprintf(info->uevent, MAX_UEVENT_LEN, "%s: %s", dev_name(dev), uevent);
40+
snprintf(info->uevent, MAX_UEVENT_LEN, "IOSM_EVENT=%s", uevent);
4141

4242
/* Schedule uevent in process context using work queue */
4343
schedule_work(&info->work);

0 commit comments

Comments
 (0)