[libiwinfo] properly register txpower() function of madwifi backend
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 27 Sep 2010 14:48:06 +0000 (14:48 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 27 Sep 2010 14:48:06 +0000 (14:48 +0000)
contrib/package/iwinfo/src/iwinfo_lualib.c

index ff9f226..a7b8ace 100644 (file)
@@ -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),