diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-02-13 23:47:44 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-02-13 23:47:44 +0100 |
commit | c716d8e7e770eb2ad2be8a99be1543c211f964d4 (patch) | |
tree | 39c21778bb71e0b472cbaa3eff6a9d2e1e05aaf7 /luci2/htdocs/luci2/wireless.js | |
parent | 3b165435af6f925c50cf4ff2b0e3554f5b57c65e (diff) | |
download | luci2-ui-c716d8e7e770eb2ad2be8a99be1543c211f964d4.tar.gz |
luci2.wireless: add getPhyName() rpc call
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'luci2/htdocs/luci2/wireless.js')
-rw-r--r-- | luci2/htdocs/luci2/wireless.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/luci2/htdocs/luci2/wireless.js b/luci2/htdocs/luci2/wireless.js index 39121a6..1ba6b81 100644 --- a/luci2/htdocs/luci2/wireless.js +++ b/luci2/htdocs/luci2/wireless.js @@ -9,6 +9,13 @@ Class.extend({ } }), + getPhyName: L.rpc.declare({ + object: 'iwinfo', + method: 'phyname', + params: [ 'section' ], + expect: { 'phyname': '' } + }), + getDeviceStatus: L.rpc.declare({ object: 'iwinfo', method: 'info', |