diff options
author | Shanyu Zhao <shanyu.zhao@intel.com> | 2010-03-19 13:34:45 -0700 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-04-02 11:12:37 -0700 |
commit | 04f2dec1c3d375c4072613880f28f43b66524876 (patch) | |
tree | f0544c88fc1205197df3680a33fe75098bf50074 /net/phonet | |
parent | dd48744964296b5713032ea1d66eb9e3d990e287 (diff) |
iwlwifi: use consistent table for tx data collect
When collecting tx data for non-aggregation packets in rate scaling, if
the tx data matches "other table", it still uses current table to update
the stats and calculate average throughput in function rs_collect_tx_data().
This can mess up the rate scaling data structure and cause a kernel panic
in a BUG_ON statement in rs_rate_scale_perform().
To fix this bug, we pass table pointer instead of window pointer (pointed
to by table pointer) to function rs_collect_tx_data() so that the table
being used is consistent.
Signed-off-by: Shanyu Zhao <shanyu.zhao@intel.com>
Signed-off-by: Henry Zhang <hongx.c.zhang@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'net/phonet')
0 files changed, 0 insertions, 0 deletions