Michal Kazior <[email protected]> writes:

> Split logic that prepares the device for BMI
> phase/cleans up related resources.
>
> This is necessary for ath10k to be able to restart
> hw on the fly without reloading the module.
>
> Signed-off-by: Michal Kazior <[email protected]>
> ---

[...]

> --- a/drivers/net/wireless/ath/ath10k/hif.h
> +++ b/drivers/net/wireless/ath/ath10k/hif.h
> @@ -46,8 +46,11 @@ struct ath10k_hif_ops {
>                               void *request, u32 request_len,
>                               void *response, u32 *response_len);
>  
> +     /* Post BMI phase, after FW is loaded. Starts regular operation */
>       int (*start)(struct ath10k *ar);
>  
> +     /* Clean up what start() did. This does not revert to BMI phase. If
> +      * desired so, call deinit() and init() */
>       void (*stop)(struct ath10k *ar);

The last sentence in the comment can be removed, right? Or I
misunderstand the meaning.

-- 
Kalle Valo
_______________________________________________
ath9k-devel mailing list
[email protected]
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to