[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 ff9f226aa03ce98ec39efc7b76658deafbf0bef4..a7b8ace71d090dca94cd3432f63985e09ef60ae1 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),