diff options
author | Felix Fietkau <nbd@nbd.name> | 2019-03-01 18:51:03 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-03-07 14:50:23 +0300 |
commit | 3fd0824a2f800a2870569d385917ae1102647055 (patch) | |
tree | b9ab7829eda09a46fbd0c31124bac9ed44babc0b /drivers/net/wireless/mediatek/mt76/mt76x02.h | |
parent | 7b25d3b8e485c7721cba9c71b44d1c286e61c8e7 (diff) | |
download | linux-3fd0824a2f800a2870569d385917ae1102647055.tar.xz |
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: 06662264ce2ad ("mt76x02: use mask for vifs")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02.h')
0 files changed, 0 insertions, 0 deletions