summaryrefslogtreecommitdiffhomepage
path: root/libs/luanet/src/main.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-05-09 17:55:24 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-05-09 17:55:24 +0000
commit64600a27ee42298c44867e9af67ac69797e7b5e1 (patch)
tree0029e6a8fb1a43a882d5fc0a7bdcd30ed25a5c64 /libs/luanet/src/main.c
parent011a89028cb83544d2224359f5a20543cf39e4d0 (diff)
libs/luanet: add wifi channel enumeration
Diffstat (limited to 'libs/luanet/src/main.c')
-rw-r--r--libs/luanet/src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/luanet/src/main.c b/libs/luanet/src/main.c
index 0a42276cba..3193c722c3 100644
--- a/libs/luanet/src/main.c
+++ b/libs/luanet/src/main.c
@@ -13,6 +13,7 @@
*
* Copyright (C) 2008 John Crispin <blogic@openwrt.org>
* Copyright (C) 2008 Steven Barth <steven@midlink.org>
+ * Copyright (C) 2009 Jo-Philipp Wich <xm@subsignal.org>
*/
#include <stdio.h>
@@ -63,6 +64,7 @@ static luaL_reg func[] = {
{"iwc_set_mode", iwc_set_mode},
{"iwc_set_channel", iwc_set_channel},
{"iwc_scan", iwc_scan},
+ {"iwc_frequencies", iwc_frequencies},
{"vlan_getall", vlan_getall},
{"vlan_add", vlan_add},
{"vlan_del", vlan_del},