Re: [PATCH] wifi: mt76: mt7915: Fix an error handling path in mt7915_add_interface()

From: Dan Carpenter
Date: Mon Nov 18 2024 - 01:05:36 EST


On Sun, Sep 29, 2024 at 09:53:40PM +0200, Christophe JAILLET wrote:
> If mt76_wcid_alloc() fails, the "mt76.mutex" mutex needs to be released as
> done in the other error handling path of mt7915_add_interface().
>
> Fixes: f3049b88b2b3 ("wifi: mt76: mt7915: allocate vif wcid in the same range as stations")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> Compile tested only

Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

This fix is still required.

regards,
dan carpenter