projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ramips: move the ethernet driver into a separate directory
[oweals/openwrt.git]
/
package
/
wireless-tools
/
patches
/
002-fix-iwconfig-power-argument-parsing.patch
1
--- a/iwconfig.c
2
+++ b/iwconfig.c
3
@@ -1034,8 +1034,8 @@ set_power_info(int skfd,
4
wrq.u.power.disabled = 0;
5
6
/* Is there any value to grab ? */
7
- value = strtod(args[0], &unit);
8
- if(unit != args[0])
9
+ value = strtod(args[i], &unit);
10
+ if(unit != args[i])
11
{
12
struct iw_range range;
13
int flags;