Re: [PATCHv2 wireless] mac80211: stop tpt LED trigger timer before freeing trigger

From: Johannes Berg

Date: Sat Sep 05 2026 - 02:16:00 EST


On Fri, 2026-09-04 at 12:16 -0700, Rosen Penev wrote:
> On Fri, Sep 4, 2026 at 12:41 AM Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> >
> > On Sat, 2026-08-15 at 12:07 -0700, Rosen Penev wrote:
> > > On a hot unplug, the device is torn down
> > > through ieee80211_unregister_hw() without ever going through
> > > ieee80211_do_stop(), so the timer is never stopped.
> >
> > I don't buy this.
> >
> > Also, missed wifi: prefix.
> >
> > Please don't just feed me LLM garbage. Do you have a crash reported on
> > this?
> Not formally no. However I am able to reliably panic the kernel. After
> this patch I can't.

Then you can probably enable debug objects etc. to figure out why?

I don't think this patch really fixes the cause, just the symptom.

Maybe it's related to this:
https://lore.kernel.org/linux-wireless/20260904165722.044aa432f873.I601a67a2cd558b8ef8416a07554ae7efe896e9d8@changeid/

johannes