mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
7e6b24a810
SVN-Revision: 26968
12 lines
277 B
Diff
12 lines
277 B
Diff
--- 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--;
|
|
}
|