diff options
| author | Lorenzo Bianconi <lorenzo@kernel.org> | 2022-03-19 14:28:01 +0100 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2022-05-13 09:39:34 +0200 |
| commit | aa796f12091aa4758366f5171fd9cba2ff574ba3 (patch) | |
| tree | 96cced4816341ca484e9e9f69770006c2c31250e /lib/mpi/mpi-internal.h | |
| parent | 5beadb27fa808172c26a6a6d3e8500cf6b547c48 (diff) | |
mt76: mt7915: fix unbounded shift in mt7915_mcu_beacon_mbss
Fix the following smatch static checker warning:
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:1872 mt7915_mcu_beacon_mbss()
error: undefined (user controlled) shift '(((1))) << (data[2])'
Rely on mac80211 definitions for ieee80211_bssid_index subelement.
Fixes: 6b7f9aff7c67 ("mt76: mt7915: introduce 802.11ax multi-bss support")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
