On Mon, Feb 22, 2021 at 8:24 AM Kalle Valo <kvalo@xxxxxxxxxxxxxx> wrote: > > 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 > Thanks for the patch. I have seen a call-trace with my first build of Linux v5.11-10201-gc03c21ba6f4e. After application - all good. [ dmesg ] [ 44.744486] iwlwifi 0000:01:00.0: Detected Intel(R) Centrino(R) Advanced-N 6230 AGN, REV=0xB0 [ lsmod ] $ sudo lsmod | grep iwl | sort cfg80211 1200128 3 iwldvm,iwlwifi,mac80211 iwldvm 176128 0 iwlwifi 348160 1 iwldvm mac80211 1167360 1 iwldvm - Sedat -