linux_dsm_epyc7002/drivers/net/wireless/iwlwifi
Dan Carpenter 8e1a53c615 iwlwifi: range checking issue
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>
Cc: stable@kernel.org
Acked-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-03-30 15:37:36 -04:00
..
iwl3945-base.c iwlwifi: range checking issue 2010-03-30 15:37:36 -04:00
iwl-1000.c iwlwifi: Adjusting PLCP error threshold for 1000 NIC 2010-02-11 10:27:05 -08:00
iwl-3945-fh.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-3945-hw.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-3945-led.c iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-3945-led.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-3945-rs.c iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-3945.c iwl3945: fix memory corruption 2010-03-09 16:15:33 -08:00
iwl-3945.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
iwl-4965-hw.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-4965.c iwlwifi: counting number of tfds can be free for 4965 2010-03-30 15:37:30 -04:00
iwl-5000-hw.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-5000.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-02-26 16:54:45 -05:00
iwl-6000-hw.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-6000.c iwlwifi: indicate calib version for 6050 series 2010-02-19 15:52:49 -05:00
iwl-agn-led.c iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-agn-led.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-agn-rs.c iwlwifi: check for aggregation frame and queue 2010-02-11 10:26:10 -08:00
iwl-agn-rs.h iwlwifi: fix typo in IWL_CCK_RATES_MASK 2010-01-29 11:13:58 -08:00
iwl-agn.c iwlwifi: clear unattended interrupts in tasklet 2010-03-30 15:37:31 -04:00
iwl-calib.c iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-calib.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-commands.h Merge branch 'wireless-2.6' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-2.6 2010-02-26 16:58:18 -05:00
iwl-core.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-02-26 16:54:45 -05:00
iwl-core.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-02-26 16:54:45 -05:00
iwl-csr.h iwlwifi: indicate calib version for 6050 series 2010-02-19 15:52:49 -05:00
iwl-debug.h iwlwifi: clean up debugfs code 2010-01-25 16:36:24 -05:00
iwl-debugfs.c iwlwifi: add debugfs to monitor force reset parameters 2010-02-19 15:52:50 -05:00
iwl-dev.h iwlwifi: load firmware asynchronously before mac80211 registration 2010-03-02 14:31:51 -05:00
iwl-devtrace.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-01-23 00:31:06 -08:00
iwl-devtrace.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-01-23 00:31:06 -08:00
iwl-eeprom.c iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-eeprom.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-fh.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-hcmd.c iwlwifi: enable serialization of synchronous commands 2010-02-19 15:52:49 -05:00
iwl-helpers.h iwlwifi: use dma_alloc_coherent 2010-02-11 10:27:18 -08:00
iwl-io.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-led.c iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-led.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-power.c iwlwifi: iwl_power_update_mode always hold mutex 2010-01-29 11:13:59 -08:00
iwl-power.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-prph.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-rx.c Merge branch 'wireless-next-2.6' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-2.6 2010-02-26 16:58:26 -05:00
iwl-scan.c Revert "iwlwifi: Send broadcast probe request only when asked to" 2010-03-09 16:16:04 -08:00
iwl-spectrum.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-sta.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-02-08 16:38:38 -05:00
iwl-sta.h iwlwifi: make broadcast station addition generic 2010-01-25 16:36:22 -05:00
iwl-tx.c iwlwifi: Silence tfds_in_queue message 2010-03-16 15:20:43 -04:00
Kconfig iwlwifi: cleanup spectrum measurement command support 2010-01-25 16:36:26 -05:00
Makefile iwlwifi: cleanup spectrum measurement command support 2010-01-25 16:36:26 -05:00