diff options
Diffstat (limited to 'package/iw/patches')
-rw-r--r-- | package/iw/patches/110-fix_rate_calculation.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/iw/patches/110-fix_rate_calculation.patch b/package/iw/patches/110-fix_rate_calculation.patch new file mode 100644 index 000000000..e7328e39b --- /dev/null +++ b/package/iw/patches/110-fix_rate_calculation.patch @@ -0,0 +1,11 @@ +--- a/ibss.c ++++ b/ibss.c +@@ -104,7 +104,7 @@ static int join_ibss(struct nl80211_stat + if (*end != '\0') + return 1; + +- NLA_PUT_U32(msg, NL80211_ATTR_MCAST_RATE, (int) rate * 10); ++ NLA_PUT_U32(msg, NL80211_ATTR_MCAST_RATE, (int)(rate * 10)); + argv++; + argc--; + } |