summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-10 12:20:06 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-10 12:20:06 +0000
commit35d0313a5cb927ddc4882ae01bb411d844e8cffc (patch)
treefbfdbdd1a45a773632f15956c2200080665ed6a6
parentfe5e3e7527cfae05395069bc7e22d2a6e54517d6 (diff)
fix Set Tx Power error in wificonf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1394 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/package/wificonf/wificonf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/wificonf/wificonf.c b/openwrt/package/wificonf/wificonf.c
index e1df6675e2..7a9cde5a1a 100644
--- a/openwrt/package/wificonf/wificonf.c
+++ b/openwrt/package/wificonf/wificonf.c
@@ -396,7 +396,7 @@ void setup_wext(int skfd, char *ifname)
wrq.u.txpower.value = -1;
wrq.u.txpower.fixed = 1;
- wrq.u.txpower.flags = IW_TXPOW_MWATT;
+ wrq.u.txpower.flags = IW_TXPOW_DBM;
IW_SET_EXT_ERR(skfd, ifname, SIOCSIWTXPOW, &wrq, "Set Tx Power");
/* Set up WEP */