fix Set Tx Power error in wificonf
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 10 Jul 2005 12:20:06 +0000 (12:20 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 10 Jul 2005 12:20:06 +0000 (12:20 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1394 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/wificonf/wificonf.c

index e1df667..7a9cde5 100644 (file)
@@ -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 */
This page took 0.02235 seconds and 4 git commands to generate.