]> 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)
commit38fe0605ac0ed5ef538e97114b9d912ea583382e
tree53f624b955770fca11503d1409c4e2b35cbc159c
parent83b4b06b7408ce798a220098fbeac6cb0a1db352
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: b793d5331fa1 ("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