be2net: increment work_counter in be_worker
authorIvan Vecera <ivecera@redhat.com>
Thu, 21 Apr 2011 00:20:04 +0000 (00:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Apr 2011 00:36:00 +0000 (17:36 -0700)
The commit 609ff3b ("be2net: add code to display temperature of ASIC")
adds support to display temperature of ASIC but there is missing
increment of work_counter in be_worker. Because of this 1) the
function be_cmd_get_die_temperature is called every 1 second instead
of every 32 seconds 2) be_cmd_get_die_temperature is called, although
it is not supported.  This patch fixes this bug.

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found