linux/drivers/net/wireless
Arnd Bergmann 67d88b7bf6 mwifiex: re-fix for unaligned accesses
[ Upstream commit 8f4e3d48bb ]

A patch from 2017 changed some accesses to DMA memory to use
get_unaligned_le32() and similar interfaces, to avoid problems
with doing unaligned accesson uncached memory.

However, the change in the mwifiex_pcie_alloc_sleep_cookie_buf()
function ended up changing the size of the access instead,
as it operates on a pointer to u8.

Change this function back to actually access the entire 32 bits.
Note that the pointer is aligned by definition because it came
from dma_alloc_coherent().

Fixes: 92c70a958b ("mwifiex: fix for unaligned reads")
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:34 +02:00
..
admtek adm8211: fix error return code in adm8211_probe() 2020-12-30 11:53:40 +01:00
ath ath11k: send beacon template after vdev_start/restart during csa 2021-07-14 16:56:22 +02:00
atmel atmel: convert tasklets to use new tasklet_setup() API 2020-08-27 16:22:02 +03:00
broadcom brcmsmac: mac80211_if: Fix a resource leak in an error handling path 2021-07-14 16:56:21 +02:00
cisco airo: work around stack usage warning 2021-05-22 11:40:51 +02:00
intel iwlwifi: increase PNVM load timeout 2021-07-14 16:56:25 +02:00
intersil orinoco: Move context allocation after processing the skb 2020-12-30 11:53:21 +01:00
marvell mwifiex: re-fix for unaligned accesses 2021-07-14 16:56:34 +02:00
mediatek mt76: mt7615: fix NULL pointer dereference in tx_prepare_skb() 2021-07-14 16:56:24 +02:00
microchip wilc1000: write value to WILC_INTR2_ENABLE register 2021-05-14 09:50:29 +02:00
quantenna qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth 2021-05-19 10:12:58 +02:00
ralink rt2x00: convert tasklets to use new tasklet_setup() API 2020-08-27 16:22:13 +03:00
realtek rtw88: 8822c: fix lc calibration timing 2021-07-14 16:56:25 +02:00
rsi rsi: fix AP mode with WPA failure due to encrypted EAPOL 2021-07-14 16:55:46 +02:00
st cw1200: Revert unnecessary patches that fix unreal use-after-free bugs 2021-07-14 16:56:21 +02:00
ti wlcore: Fix buffer overrun by snprintf due to incorrect buffer size 2021-05-14 09:50:42 +02:00
zydas net: zd1211rw: Remove ZD_ASSERT(in_interrupt()) 2020-09-29 14:02:54 -07:00
Kconfig wireless-drivers-next patches for v5.9 2020-07-20 17:52:50 -07:00
mac80211_hwsim.c mac80211_hwsim: drop pending frames on stop 2021-06-30 08:47:19 -04:00
mac80211_hwsim.h
Makefile
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: tighten check of rndis_query_oid return 2020-08-18 15:52:45 +03:00
virt_wifi.c virt_wifi: Return micros for BSS TSF values 2021-04-21 13:00:54 +02:00
wl3501_cs.c wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join 2021-05-19 10:12:58 +02:00
wl3501.h wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join 2021-05-19 10:12:58 +02:00