Skip to content
Commit 238f5d6f authored by Felix Fietkau's avatar Felix Fietkau
Browse files

mt76: fix per-driver wcid range checks after wcid array size bump



All drivers before MT7915 have a limit of 128 WCID entries. Stop relying
on ARRAY_SIZE(dev->mt76.wcid), since it no longer reflects that limit.

Fixes: 49e649c3 ("mt76: adjust wcid size to support new 802.11ax generation")
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent ae4027a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment