diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-11-30 16:40:39 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-11-30 16:40:39 +0100 |
commit | 19112eb78a7878767d4ab3190f676ce3c1757614 (patch) | |
tree | a55964e00c6ac542c08c1fe4d1849f2ffaba9bd3 /wireless.c | |
parent | 943ae5b9f838fa58d6048ca599d86526b5088b8c (diff) |
wireless: show the ifname in wireless status
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'wireless.c')
-rw-r--r-- | wireless.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |