From b20ccd71b7f6be71debd0cdf72d561ef13f3f328 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 10 Jul 2005 12:20:06 +0000 Subject: fix Set Tx Power error in wificonf git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1394 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/wificonf/wificonf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/wificonf/wificonf.c b/package/wificonf/wificonf.c index e1df6675e2..7a9cde5a1a 100644 --- a/package/wificonf/wificonf.c +++ b/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 */ -- cgit v1.2.3