projects
/
openwrt
/
staging
/
mkresin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e7328e39baef4f30fb1b2996b1cead4c5a016e72
[openwrt/staging/mkresin.git]
/
package
/
iw
/
patches
/
110-fix_rate_calculation.patch
1
--- a/ibss.c
2
+++ b/ibss.c
3
@@ -104,7 +104,7 @@ static int join_ibss(struct nl80211_stat
4
if (*end != '\0')
5
return 1;
6
7
- NLA_PUT_U32(msg, NL80211_ATTR_MCAST_RATE, (int) rate * 10);
8
+ NLA_PUT_U32(msg, NL80211_ATTR_MCAST_RATE, (int)(rate * 10));
9
argv++;
10
argc--;
11
}