diff options
| author | Johannes Berg <[email protected]> | 2020-02-21 10:44:50 +0100 | 
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2020-02-21 10:59:27 +0100 | 
| commit | a7ee7d44b57c9ae174088e53a668852b7f4f452d (patch) | |
| tree | 88f263c785cd701ad77cd4f467e11584b606d370 /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | 9951ebfcdf2b97dbb28a5d930458424341e61aa2 (diff) | |
cfg80211: check reg_rule for NULL in handle_channel_custom()
We may end up with a NULL reg_rule after the loop in
handle_channel_custom() if the bandwidth didn't fit,
check if this is the case and bail out if so.
Signed-off-by: Johannes Berg <[email protected]>
Link: https://lore.kernel.org/r/20200221104449.3b558a50201c.I4ad3725c4dacaefd2d18d3cc65ba6d18acd5dbfe@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions