9e0c2df323e5067775a82e060fdf2a3927b8818b
[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.04757 seconds and 3 git commands to generate.