aboutsummaryrefslogtreecommitdiffstats
path: root/package/iwinfo/src/include/iwinfo.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-03-05 17:52:46 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-03-05 17:52:46 +0000
commitec780171b195b0372965d389b279ffa01bf66400 (patch)
treec080f78a1a0fe2ff14ce5c4f429baca9ea41ad40 /package/iwinfo/src/include/iwinfo.h
parent1a1bf7518ac61d7772b18d3a92733178a10cb090 (diff)
downloadupstream-ec780171b195b0372965d389b279ffa01bf66400.tar.gz
upstream-ec780171b195b0372965d389b279ffa01bf66400.tar.bz2
upstream-ec780171b195b0372965d389b279ffa01bf66400.zip
[package] iwinfo: fix integer overflow in assoclist rate reporting (#11073)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30825 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iwinfo/src/include/iwinfo.h')
-rw-r--r--package/iwinfo/src/include/iwinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/iwinfo/src/include/iwinfo.h b/package/iwinfo/src/include/iwinfo.h
index 9e78bab70e..868c10b359 100644
--- a/package/iwinfo/src/include/iwinfo.h
+++ b/package/iwinfo/src/include/iwinfo.h
@@ -61,7 +61,7 @@ extern const char *IWINFO_OPMODE_NAMES[];
struct iwinfo_rate_entry {
- uint16_t rate;
+ uint32_t rate;
int8_t mcs;
uint8_t is_40mhz:1;
uint8_t is_short_gi:1;