Michal Kazior <michal.kaz...@tieto.com> writes:

> It's not a good to have too many mutexes. The
> patch simplifies locking of debufs to use
> conf_mutex.
>
> Signed-off-by: Michal Kazior <michal.kaz...@tieto.com>

[...]

> @@ -328,7 +328,7 @@ int ath10k_debug_create(struct ath10k *ar)
>               return -ENOMEM;
>  
>       init_completion(&ar->debug.event_stats_compl);
> -     mutex_init(&ar->debug.debug_mtx);
> +     mutex_init(&ar->conf_mutex);

Can this be right? We already initialise conf_mutex in core.c.

-- 
Kalle Valo
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to