Skip to content
Commit 7d288640 authored by Markus Theil's avatar Markus Theil Committed by Felix Fietkau
Browse files

mt76: mt76x02: add check for invalid vif idx



On adding vifs the idx can become 1 + (7 & 7) = 8 for APs.
Check against that, as only AP vif idx 0-7 is possible.

Signed-off-by: default avatarMarkus Theil <markus.theil@tu-ilmenau.de>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent f27469a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment