commit | d71be937202853eda76562e9678073465d5c0fa8 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Dec 23 08:13:42 2011 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Jan 04 14:30:44 2012 -0500 |
tree | dd9161a0a8f35737deedd0ccbdc29ea4651efac4 | |
parent | 2b20920d639da3ee275fcc691431b5b3daa9a3e7 [diff] |
iwlegacy: off by one in iwl3945_hw_build_tx_cmd_rate() We use "rate_index" like this: rate = iwl3945_rates[rate_index].plcp; The iwl3945_rates[] array has IWL_RATE_COUNT_3945 elements so the limit here is off by one. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>