Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > From: Johannes Berg <johannes.berg@xxxxxxxxx> > > 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@xxxxxxxxx> > Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> Patch applied to wireless-drivers.git, thanks. 4538c5ed0f7e iwlwifi: avoid crash on unsupported debug collection -- https://patchwork.kernel.org/project/linux-wireless/patch/20210219133506.ecabe285bc7d.I73d230d555c595fa2d9bf284f80078729fe18aa4@changeid/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches