reg_leave_invalid_nan_wk(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… reg_leave_invalid_nan_wk β€” the Kernel API Manual, section 9 bestie πŸŽ€

Okay so picture this: you're deep in the kernel wireless regulatory vibes, and you need a hand tearing down a NAN. That's literally this function. Welcome to the reg_leave_invalid_nan_wk(9) page, you're gonna slay it πŸ’–


✨ NAME ✨

reg_leave_invalid_nan_wk β€” bestie, this one checks the channels and then tears down NAN when it's unusable πŸ”₯


πŸ¦‹ SYNOPSIS πŸ¦‹

void reg_leave_invalid_nan_wk (struct work_struct *work );

🌸 ARGUMENTS 🌸

  • work β€” the work struct. that's it, that's the whole vibe. she's the work item getting worked 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the tea β˜•: stopping a NAN interface needs the RTNL, and reg_leave_invalid_chans_wk just cannot do that, because that one runs with the wiphy mutex held. So this lil work item is the main character that shows up to handle it instead πŸ’… periodt.


πŸ”₯ SEE ALSO πŸ”₯

Lowkey go read the whole regulatory extended universe, the lore is unmatched:


πŸ’€ and that's the page !! tysm for reading, mwah πŸ“

Sign-off time 🧚✨: this lil masterpiece lives out of ./net/wireless, dropped in October 2026, and it's part and parcel of the Kernel API Manual β€” no cap πŸ’œπŸŒˆ

πŸ“¦ where this page comes from