Re: [PATCH v2] iwlwifi: mvm: retry init flow if failed

From
Luca Coelho <hidden>
Date
2021-11-10 13:05:19
Reply to
Luca Coelho, 2021-11-10
On Wed, 2021-11-10 at 15:01 +0200, Luca Coelho wrote:
From: Mordechay Goodstein <redacted>

In some very rare cases the init flow may fail.  In many cases, this is
recoverable, so we can retry.  Implement a loop to retry two more times
after the first attempt failed.

This can happen in two different situations, namely during probe and
during mac80211 start.  For the first case, a simple loop is enough.
For the second case, we need to add a flag to prevent mac80211 from
trying to restart it as well, leaving full control with the driver.

Cc: <redacted>
Signed-off-by: Mordechay Goodstein <redacted>
Signed-off-by: Luca Coelho <redacted>
---
In v2: fixed a missing brace.
Kalle, sorry, I had a rebase damage in the previous version.  Fixed in
v2.  I marked v1 as superseded and assigned v2 to you.

--
Cheers,
Luca.
Thread (7 messages) 7 messages, 3 authors, last reply 2021-11-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help