summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-09-27 14:48:06 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-09-27 14:48:06 +0000
commit197d043107329b070d2716eaf8414a32445e1a95 (patch)
treee104d8f29f2551fc39b49995920c0a7ee05902a2
parentc3b79ead2ef3df23a4f24cbd0b71ff1792b70655 (diff)
[libiwinfo] properly register txpower() function of madwifi backend
-rw-r--r--contrib/package/iwinfo/src/iwinfo_lualib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/package/iwinfo/src/iwinfo_lualib.c b/contrib/package/iwinfo/src/iwinfo_lualib.c
index ff9f226aa0..a7b8ace71d 100644
--- a/contrib/package/iwinfo/src/iwinfo_lualib.c
+++ b/contrib/package/iwinfo/src/iwinfo_lualib.c
@@ -532,7 +532,7 @@ static const luaL_reg R_wl[] = {
static const luaL_reg R_madwifi[] = {
LUA_REG(madwifi,channel),
LUA_REG(madwifi,frequency),
- LUA_REG(madwifi,frequency),
+ LUA_REG(madwifi,txpower),
LUA_REG(madwifi,bitrate),
LUA_REG(madwifi,signal),
LUA_REG(madwifi,noise),