iwlwifi: dvm: fix NULL pointer dereference in rxon
PATCH 1/1 iwlwifi: dvm: fix NULL pointer dereference in rxon
Signed-off-by dhyaan19022009-hue <[email protected]>
--- drivers/net/wireless/intel/iwlwifi/dvm/rxon.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/net/wireless/intel/iwlwifi/dvm/rxon.c +5 -0
@@ -1392,6 +1392,11 @@ void iwlagn_bss_info_changed(struct ieee80211_hw *hw,mutex_lock (&priv->mutex); + +if (!bss_conf) { +mutex_unlock (&priv->mutex); +return ; + }if (changes &BSS_CHANGED_IDLE && vif->cfg.idle) {/* * If we go idle, then clearly no "passive-no-rx"
Signature · 1 line
2.43.0