summaryrefslogtreecommitdiff
path: root/package/wificonf
diff options
context:
space:
mode:
Diffstat (limited to 'package/wificonf')
-rw-r--r--package/wificonf/wificonf.c2
1 files changed, 1 insertions, 1 deletions
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 */