From: Shanyu Zhao Date: Fri, 19 Mar 2010 20:34:45 +0000 (-0700) Subject: iwlwifi: use consistent table for tx data collect X-Git-Tag: v2.6.34-rc5~25^2~20^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04f2dec1c3d375c4072613880f28f43b66524876;p=pandora-kernel.git 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 Signed-off-by: Henry Zhang Signed-off-by: Reinette Chatre --- Reading git-diff-tree failed