[PATCH] wcn36xx: initialize dxe lock

Eugene Krasnikov k.eugene.e at gmail.com
Mon Mar 24 05:04:32 EDT 2014


Looks good to me.

2014-03-21 14:48 GMT+00:00 Bob Copeland <me at bobcopeland.com>:
> The dxe lock is missing its initialization, so add it.
>
> Signed-off-by: Bob Copeland <bob at cozybit.com>
> ---
> One more lock initialization fix - I'll open a github pull request
> for this plus the other two patches sent earlier this week.
>
>  main.c |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/main.c b/main.c
> index 10ef672..8908d3a 100644
> --- a/main.c
> +++ b/main.c
> @@ -300,6 +300,8 @@ static int wcn36xx_start(struct ieee80211_hw *hw)
>         wcn36xx_debugfs_init(wcn);
>
>         INIT_LIST_HEAD(&wcn->vif_list);
> +       spin_lock_init(&wcn->dxe_lock);
> +
>         return 0;
>
>  out_smd_stop:
> --
> 1.7.10.4
>
>
> _______________________________________________
> wcn36xx mailing list
> wcn36xx at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/wcn36xx



-- 
Best regards,
Eugene



More information about the wcn36xx mailing list