linux/drivers/net/wireless
Miri Korenblit 4130c67cd1 wifi: iwlwifi: mvm: check vif for NULL/ERR_PTR before dereference
iwl_mvm_get_bss_vif might return a NULL or ERR_PTR. Some of the callers
check only the NULL case, and some doesn't check at all.

Some of the callers even have a pointer to the mvmvif of the bss vif,
so we don't even need to call this function, and can simply get the vif
from mvmvif. Do it for those cases, and for the others - properly check
if IS_ERR_OR_NULL

Fixes: ec0d43d26f ("wifi: iwlwifi: mvm: Activate EMLSR based on traffic volume")
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20240703064027.a661f8c65aac.I45cf09b01af8ee3d55828863958ead741ea43b7f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-07-03 16:06:54 +02:00
..
admtek
ath Merge ath-current from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2024-06-01 12:57:28 +03:00
atmel
broadcom tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
intel wifi: iwlwifi: mvm: check vif for NULL/ERR_PTR before dereference 2024-07-03 16:06:54 +02:00
intersil
marvell MMC core: 2024-05-16 08:56:49 -07:00
mediatek wifi: mt76: mt7615: add missing chanctx ops 2024-06-01 13:00:59 +03:00
microchip wifi: wilc1000: fix ies_len type in connect path 2024-07-03 16:49:53 +03:00
purelifi
quantenna wifi: qtnfmac: Remove generic .ndo_get_stats64 2024-05-02 10:20:04 +03:00
ralink
realtek wifi: rtlwifi: Ignore IEEE80211_CONF_CHANGE_RETRY_LIMITS 2024-06-01 13:15:26 +03:00
rsi wifi: rsi: sdio: simplify module initialization 2024-04-05 11:59:38 +03:00
silabs wifi: wfx: drop driver owner initialization 2024-04-04 11:09:12 +02:00
st
ti wifi: wlcore: fix wlcore AP mode 2024-06-18 12:16:57 +03:00
virtual virtio: features, fixes, cleanups 2024-05-23 12:04:36 -07:00
zydas
Kconfig
Makefile