Skip to content
Commit 95f83ee8 authored by Abinaya Kalaiselvan's avatar Abinaya Kalaiselvan Committed by Johannes Berg
Browse files

mac80211: fix NULL ptr dereference during mesh peer connection for non HE devices



"sband->iftype_data" is not assigned with any value for non HE supported
devices, which causes NULL pointer access during mesh peer connection
in those devices. Fix this by accessing the pointer after HE
capabilities condition check.

Cc: stable@vger.kernel.org
Fixes: 7f7aa94b (mac80211: reduce peer HE MCS/NSS to own capabilities)
Signed-off-by: default avatarAbinaya Kalaiselvan <akalaise@codeaurora.org>
Link: https://lore.kernel.org/r/1624459244-4497-1-git-send-email-akalaise@codeaurora.org


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 6e899fa0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment