projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
943ae5b
)
wireless: show the ifname in wireless status
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 30 Nov 2013 15:40:39 +0000
(16:40 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 30 Nov 2013 15:40:39 +0000
(16:40 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
wireless.c
patch
|
blob
|
history
diff --git
a/wireless.c
b/wireless.c
index 52d0eae5203f1ee37828f8f76f98a202c29adc67..4819f92076959ed5a8641523bf9c6cfe96994989 100644
(file)
--- 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);