projects
/
project
/
rpcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c61c53
)
iwinfo: expose phyname attribute
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 9 Jun 2013 14:43:35 +0000
(16:43 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 11 Jun 2013 16:44:19 +0000
(18:44 +0200)
iwinfo.c
patch
|
blob
|
history
diff --git
a/iwinfo.c
b/iwinfo.c
index 42560b670e6099ba9f7124be50c08e5403aeb372..d3866cb78adc2079319e1469afe79075afc551ea 100644
(file)
--- a/
iwinfo.c
+++ b/
iwinfo.c
@@
-242,6
+242,8
@@
rpc_iwinfo_info(struct ubus_context *ctx, struct ubus_object *obj,
blob_buf_init(&buf, 0);
+ rpc_iwinfo_call_str("phy", iw->phyname);
+
rpc_iwinfo_call_str("ssid", iw->ssid);
rpc_iwinfo_call_str("bssid", iw->bssid);
rpc_iwinfo_call_str("country", iw->country);