Skip to content

Commit

Permalink
net: wwan: iosm: fix uevent reporting
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
M Chetan Kumar authored and David S. Miller committed Jul 1, 2021
1 parent 764a4af commit 856a5c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wwan/iosm/iosm_ipc_uevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 856a5c9

Please sign in to comment.