Skip to content
Commit 3fd0824a authored by Felix Fietkau's avatar Felix Fietkau
Browse files

mt76: mt76x02: only update the base mac address if necessary



Also update the mask first before calculating the vif index.
Fixes an issue where adding back the same interfaces in a different order
fails because of duplicate vif index use

Fixes: 06662264 ("mt76x02: use mask for vifs")
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 7b25d3b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment