projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
iw: fix setting txpower (#10254)
[openwrt.git]
/
package
/
iw
/
patches
/
130-fix_txpower.patch
1
--- a/phy.c
2
+++ b/phy.c
3
@@ -277,7 +277,7 @@ static int handle_txpower(struct nl80211
4
}
5
6
mbm = strtol(argv[1], &endptr, 10);
7
- if (!*endptr)
8
+ if (*endptr)
9
return 2;
10
NLA_PUT_U32(msg, NL80211_ATTR_WIPHY_TX_POWER_LEVEL, mbm);
11
} else if (argc != 1)
This page took
0.042286 seconds
and
5
git commands to generate.