1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless
Lorenzo Bianconi aa796f1209 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: 6b7f9aff7c ("mt76: mt7915: introduce 802.11ax multi-bss support")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-05-13 09:39:34 +02:00
..
admtek module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
ath wil6210: switch to netif_napi_add_tx() 2022-05-06 08:47:51 +03:00
atmel atmel: use eth_hw_addr_set() 2021-10-20 12:39:44 +03:00
broadcom brcmfmac: allow setting wlan MAC address using device tree 2022-05-11 08:27:14 +03:00
cisco airo: fix typos in comments 2022-03-16 17:30:40 +02:00
intel mac80211: prepare sta handling for MLO support 2022-04-11 16:42:03 +02:00
intersil orinoco: Prepare cleanup of powerpc's asm/prom.h 2022-04-06 15:16:08 +03:00
marvell wireless-next patches for v5.19 2022-05-03 17:27:51 -07:00
mediatek mt76: mt7915: fix unbounded shift in mt7915_mcu_beacon_mbss 2022-05-13 09:39:34 +02:00
microchip wilc1000: add valid vmm_entry check before fetching from TX queue 2022-05-11 08:25:34 +03:00
purelifi plfxlc: fix le16_to_cpu warning for beacon_interval 2022-05-03 08:28:32 +03:00
quantenna qtnfmac: switch to netif_napi_add_weight() 2022-05-06 08:47:52 +03:00
ralink mac80211: prepare sta handling for MLO support 2022-04-11 16:42:03 +02:00
realtek rtlwifi: Use pr_warn instead of WARN_ONCE 2022-05-13 09:19:44 +03:00
rsi mac80211: prepare sta handling for MLO support 2022-04-11 16:42:03 +02:00
silabs wfx: use container_of() to get vif 2022-05-11 08:32:57 +03:00
st mac80211: prepare sta handling for MLO support 2022-04-11 16:42:03 +02:00
ti wl1251: dynamically allocate memory used for DMA 2022-05-06 09:11:33 +03:00
zydas zd1201: use kzalloc 2022-03-16 17:28:40 +02:00
Kconfig wireless: add plfxlc driver for pureLiFi X, XL, XC devices 2022-04-25 15:30:42 +03:00
mac80211_hwsim.c mac80211: prepare sta handling for MLO support 2022-04-11 16:42:03 +02:00
mac80211_hwsim.h mac80211_hwsim: notify wmediumd of used MAC addresses 2020-04-24 11:45:47 +02:00
Makefile wireless: add plfxlc driver for pureLiFi X, XL, XC devices 2022-04-25 15:30:42 +03:00
ray_cs.c ray_cs: Check ioremap return value 2022-02-01 14:24:35 +02:00
ray_cs.h
rayctl.h ray_cs: Replace zero-length array with flexible-array member 2020-03-23 19:18:27 +02:00
rndis_wlan.c wireless: Remove redundant 'flush_workqueue()' calls 2021-10-13 09:22:19 +03:00
virt_wifi.c virt_wifi: fix error on connect 2021-07-23 10:34:31 +02:00
wl3501.h wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join 2021-04-22 17:38:41 +03:00
wl3501_cs.c wl3501_cs: use eth_hw_addr_set() 2021-10-20 12:39:47 +03:00