From: Felix Fietkau Date: Sun, 10 Jul 2005 12:20:06 +0000 (+0000) Subject: fix Set Tx Power error in wificonf X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=45ed03378e4d31feaeb41f94806395b737b5c71d;p=librecmc%2Flibrecmc.git fix Set Tx Power error in wificonf SVN-Revision: 1394 --- 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 */