Skip to content
Commit 4538c5ed authored by Johannes Berg's avatar Johannes Berg Committed by Kalle Valo
Browse files

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: d0129315 ("iwlwifi: dbg: add op_mode callback for collecting debug data.")
Reported-by: default avatarAndy Lavr <andy.lavr@gmail.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210219133506.ecabe285bc7d.I73d230d555c595fa2d9bf284f80078729fe18aa4@changeid
parent 94f0e625
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