mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
fix Set Tx Power error in wificonf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1394 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ee30cb12b9
commit
6e0b1cddb8
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user