]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: initialize last_reset
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 26 Sep 2019 08:54:33 +0000 (10:54 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 2 Oct 2019 04:36:52 +0000 (07:36 +0300)
commitc595ce9241dac25ca1761dd0c798b10976f5df5c
tree53f624b955770fca11503d1409c4e2b35cbc159c
parentf5c4776cd5b591eea4e9be9f421e34f61b98ebb2
rt2x00: initialize last_reset

Initialize last_reset variable to INITIAL_JIFFIES, otherwise it is not
possible to test H/W reset for first 5 minutes of system run.

Fixes: 76bd4e3eebcb ("rt2x00: add restart hw")
Reported-and-tested-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2x00debug.c