diff options
| author | Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com> | 2023-06-16 09:53:56 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2023-06-19 12:05:28 +0200 |
| commit | 05050a2bc0c1599e95ef15a6ae34cb68ceabb06a (patch) | |
| tree | 6f37406817d06c48684b796cc6572ba6c1ee4b95 /net/wireless/scan.c | |
| parent | 276311d5814f98b113b68302c96500fd316c2cbf (diff) | |
| download | linux-05050a2bc0c1599e95ef15a6ae34cb68ceabb06a.tar.gz linux-05050a2bc0c1599e95ef15a6ae34cb68ceabb06a.tar.bz2 linux-05050a2bc0c1599e95ef15a6ae34cb68ceabb06a.zip | |
wifi: mac80211: add consistency check for compat chandef
Add NULL check for compat variable to avoid crash in
cfg80211_chandef_compatible() if it got called with
some mixed up channel context where not all the users
compatible with each other, which shouldn't happen.
Signed-off-by: Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230616094948.ae0f10dfd36b.Iea98c74aeb87bf6ef49f6d0c8687bba0dbea2abd@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/scan.c')
0 files changed, 0 insertions, 0 deletions
