From: Wey-Yi Guy Date: Fri, 20 Nov 2009 20:05:09 +0000 (-0800) Subject: iwlwifi: remove reset led_tpt from iwl_leds_init() X-Git-Tag: v2.6.33-rc1~388^2~214^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3681165235aae95a2e6d5407bb4e9426d68a37dd;p=pandora-kernel.git iwlwifi: remove reset led_tpt from iwl_leds_init() Current blinking rate is calculated based on the difference between current tx/rx byte counts and priv->led_tpt. priv->led_tpt should not get reset in iwl_leds_init(), this function can be called by bring interface "up" or "down", or when uCode sysassert occurred. resetting the led_tpt parameter will introduce incorrect led blinking behavior. Signed-off-by: Wey-Yi Guy Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville --- Reading git-diff-tree failed