From: Felix Fietkau Date: Sat, 30 Nov 2013 15:40:39 +0000 (+0100) Subject: wireless: show the ifname in wireless status X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=19112eb78a7878767d4ab3190f676ce3c1757614;p=oweals%2Fnetifd.git wireless: show the ifname in wireless status Signed-off-by: Felix Fietkau --- diff --git a/wireless.c b/wireless.c index 52d0eae..4819f92 100644 --- a/wireless.c +++ b/wireless.c @@ -633,6 +633,8 @@ wireless_interface_status(struct wireless_interface *iface, struct blob_buf *b) void *i; i = blobmsg_open_table(b, iface->name); + if (iface->ifname) + blobmsg_add_string(b, "ifname", iface->ifname); if (iface->data) blob_put_raw(b, blob_data(iface->data), blob_len(iface->data)); blobmsg_close_table(b, i);