summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-07-10 12:20:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-07-10 12:20:06 +0000
commit45ed03378e4d31feaeb41f94806395b737b5c71d (patch)
treefbfdbdd1a45a773632f15956c2200080665ed6a6 /openwrt
parent34ec3f93f6a9658b479ca18a30cdf4fac54ad92f (diff)
downloadmtk-20170518-45ed03378e4d31feaeb41f94806395b737b5c71d.zip
mtk-20170518-45ed03378e4d31feaeb41f94806395b737b5c71d.tar.gz
mtk-20170518-45ed03378e4d31feaeb41f94806395b737b5c71d.tar.bz2
fix Set Tx Power error in wificonf
SVN-Revision: 1394
Diffstat (limited to 'openwrt')
-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 e1df667..7a9cde5 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 */