diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-02-19 13:35:07 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-02-22 09:22:16 +0200 |
commit | 4538c5ed0f7e892f1b643472e48146757d1e60c5 (patch) | |
tree | 8f1735f1fb660d895524df06f9ed96bce5c7854a /drivers/net/wireless/ath/dfs_pri_detector.h | |
parent | 94f0e6256c2ab6803c935634aa1f653174c94879 (diff) |
iwlwifi: avoid crash on unsupported debug collection
If the opmode doesn't support debug collection (DVM) then don't
crash, but just skip the callback.
Fixes: d01293154c0a ("iwlwifi: dbg: add op_mode callback for collecting debug data.")
Reported-by: Andy Lavr <andy.lavr@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210219133506.ecabe285bc7d.I73d230d555c595fa2d9bf284f80078729fe18aa4@changeid
Diffstat (limited to 'drivers/net/wireless/ath/dfs_pri_detector.h')
0 files changed, 0 insertions, 0 deletions