Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mac80211: fix NULL ptr dereference during mesh peer connection for no…
…n 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: [email protected] Fixes: 7f7aa94 (mac80211: reduce peer HE MCS/NSS to own capabilities) Signed-off-by: Abinaya Kalaiselvan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
- Loading branch information