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

- From: Luca Coelho \<hidden\>
- Date: 2021-11-10 13:05:19 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2021/11/15769914
- Thread: https://ratatoskr.run/linux-wireless/2021/11/15769905/t.md

```text
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.
```
