fix Set Tx Power error in wificonf
SVN-Revision: 1394
This commit is contained in:
parent
34ec3f93f6
commit
45ed03378e
@ -396,7 +396,7 @@ void setup_wext(int skfd, char *ifname)
|
|||||||
|
|
||||||
wrq.u.txpower.value = -1;
|
wrq.u.txpower.value = -1;
|
||||||
wrq.u.txpower.fixed = 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");
|
IW_SET_EXT_ERR(skfd, ifname, SIOCSIWTXPOW, &wrq, "Set Tx Power");
|
||||||
|
|
||||||
/* Set up WEP */
|
/* Set up WEP */
|
||||||
|
Loading…
Reference in New Issue
Block a user