X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/d1af7898a241c9b3a4c7e2f77fa2221ae501642b..1c79b1465da207c0d60b866b7fe991a5e1a7b8ce:/openwrt/package/wificonf/wificonf.c?ds=sidebyside diff --git a/openwrt/package/wificonf/wificonf.c b/openwrt/package/wificonf/wificonf.c index e1df6675e..7a9cde5a1 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 */