From: Wey-Yi Guy Date: Fri, 20 Nov 2009 20:04:56 +0000 (-0800) Subject: iwlwifi: reset led_tpt when clear tx/rx traffic byte counts X-Git-Tag: v2.6.33-rc1~388^2~214^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7163b8a4ec995dabda3e92c6fed7b8600060618c;p=pandora-kernel.git iwlwifi: reset led_tpt when clear tx/rx traffic byte counts LED blink rate is based on the traffic load, when tx/rx traffic counts got reset, we also need to reset the led_tpt to prevent incorrect blink rate being calculated. Merge both clear_tx_statistics() and clear_rx_statistics() into single clear_traffic_statistics() function, when reset the traffic byte counts, both tx and rx need to be reset at the same time, to make sure calculated the correct led blink rate. Signed-off-by: Wey-Yi Guy Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville --- Reading git-diff-tree failed