Files
linux/drivers
Dan Carpenter a2266949a5 iwlwifi: range checking issue
commit 8e1a53c615 upstream.

IWL_RATE_COUNT is 13 and IWL_RATE_COUNT_LEGACY is 12.

IWL_RATE_COUNT_LEGACY is the right one here because iwl3945_rates
doesn't support 60M and also that's how "rates" is defined in
iwlcore_init_geos() from drivers/net/wireless/iwlwifi/iwl-core.c.

        rates = kzalloc((sizeof(struct ieee80211_rate) * IWL_RATE_COUNT_LEGACY),
                        GFP_KERNEL);

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-04-26 07:41:17 -07:00
..
2010-04-01 15:58:40 -07:00
2009-12-18 14:05:04 -08:00
2010-02-09 04:50:48 -08:00
2010-04-26 07:41:17 -07:00
2009-11-12 07:26:01 -08:00
2010-02-23 07:37:54 -08:00
2009-12-18 14:03:24 -08:00
2010-04-01 15:58:13 -07:00
2010-01-18 10:19:44 -08:00