iwlwifi: fix bug in tx byte count table
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 8 Jan 2010 18:04:44 +0000 (10:04 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Jan 2010 19:02:12 +0000 (14:02 -0500)
commit8ce1ef4a914aef8b9b90a2a2c670494168a2cca9
treec8cf5c8d50800ad4e276c09bf7b87a3742546282
parentc15867f15f98e5ecbdbee5993db7f6f4b7100481
iwlwifi: fix bug in tx byte count table

When setting invalid byte count in txq byte count table, read pointer
should be used instead of write pointer.

Reported-by: Guo, Chaohong <chaohong.guo@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-5000.c