From 9ca54da8398f055d2aa611cfbc29c06198748b34 Mon Sep 17 00:00:00 2001 From: jow Date: Mon, 5 Mar 2012 17:52:46 +0000 Subject: [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 --- package/iwinfo/src/include/iwinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/iwinfo/src/include') diff --git a/package/iwinfo/src/include/iwinfo.h b/package/iwinfo/src/include/iwinfo.h index 9e78bab70..868c10b35 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; -- cgit v1.2.3