diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-07-10 12:20:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-07-10 12:20:06 +0000 |
commit | 6e0b1cddb8969130e412512db32cd5bede7a628d (patch) | |
tree | d666afdd469b38825c96b84ba2f9f03f61a62396 | |
parent | ee30cb12b90366fe25a74b5ae1e1b26ed9d66810 (diff) | |
download | master-187ad058-6e0b1cddb8969130e412512db32cd5bede7a628d.tar.gz master-187ad058-6e0b1cddb8969130e412512db32cd5bede7a628d.tar.bz2 master-187ad058-6e0b1cddb8969130e412512db32cd5bede7a628d.zip |
fix Set Tx Power error in wificonf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1394 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/wificonf/wificonf.c | 2 |
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 */ |