Change Details
package/iw/Makefile |
1 | 1 | # |
2 | | # Copyright (C) 2007-2009 OpenWrt.org |
| 2 | # Copyright (C) 2007-2011 OpenWrt.org |
3 | 3 | # |
4 | 4 | # This is free software, licensed under the GNU General Public License v2. |
5 | 5 | # See /LICENSE for more information. |
... | ... | |
9 | 9 | |
10 | 10 | PKG_NAME:=iw |
11 | 11 | PKG_VERSION:=0.9.22 |
12 | | PKG_RELEASE:=1 |
| 12 | PKG_RELEASE:=2 |
13 | 13 | |
14 | 14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
15 | 15 | PKG_SOURCE_URL:=http://wireless.kernel.org/download/iw/ |
package/iw/patches/110-fix_rate_calculation.patch |
| 1 | --- a/ibss.c |
| 2 | @@ -104,7 +104,7 @@ static int join_ibss(struct nl80211_stat |
| 3 | if (*end != '\0') |
| 4 | return 1; |
| 5 | |
| 6 | - NLA_PUT_U32(msg, NL80211_ATTR_MCAST_RATE, (int) rate * 10); |
| 7 | + NLA_PUT_U32(msg, NL80211_ATTR_MCAST_RATE, (int)(rate * 10)); |
| 8 | argv++; |
| 9 | argc--; |
| 10 | } |
Download the corresponding diff file