Commit 126a516f authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Felix Fietkau
Browse files

wifi: mt76: mt7915: Fix an error handling path in mt7915_add_interface()



If mt76_wcid_alloc() fails, the "mt76.mutex" mutex needs to be released as
done in the other error handling paths of mt7915_add_interface().

Fixes: f3049b88 ("wifi: mt76: mt7915: allocate vif wcid in the same range as stations")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/b9d8fbfc19360bfe60b9cea1cb0f735ab3b4bc26.1727639596.git.christophe.jaillet@wanadoo.fr


Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent aa566ac6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment