mac80211: rt2x00: backport 'rt2x00: initialize last_reset'
authorDaniel Golle <daniel@makrotopia.org>
Tue, 1 Oct 2019 11:07:52 +0000 (13:07 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 1 Oct 2019 13:54:53 +0000 (15:54 +0200)
commit0714a11bee24e5995da25ca9e0b2ae4b9f163408
tree28b7b1a68a809a50568e79d5f0b2b7d059dc6af5
parent6077cde98aa5fbe7b4db96f5c5988b8dee75e4e4
mac80211: rt2x00: backport 'rt2x00: initialize last_reset'

https://patchwork.kernel.org/patch/11161981/
--
From: Stanislaw Gruszka <sgruszka@redhat.com>
Subject: [PATCH] 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: e403fa31ed71 ("rt2x00: add restart hw")
Reported-and-tested-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
--

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/kernel/mac80211/patches/rt2x00/017-rt2x00-initialize-last_reset.patch [new file with mode: 0644]