sta_info_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

sta_info_free(9) β€” free STA πŸ’…βœ¨ straight outta the Kernel API Manual, section 9, and yes bestie, she's iconic.


πŸ’– SYNOPSIS πŸ’–

void sta_info_free (struct ieee80211_local *local , struct sta_info *sta
);

πŸŽ€ ARGUMENTS πŸŽ€

  • local β€” pointer to the global information πŸ‘‘
  • sta β€” STA info to free πŸ¦‹

✨ DESCRIPTION ✨

okay so listen: this function must undo everything done by sta_info_alloc that may happen before sta_info_insert. Like, all the alloc-time mess, cleaned up, no cap 😭

She may only be called when sta_info_insert has not been attempted β€” and if that fails, the station is freed anyway. So yeah, respect the lifecycle or it's giving undefined-behavior energy πŸ’€

bestie this is a strict vibe check: don't call her at the wrong point in the station-info lifetime rules, fr fr 🫢

🌈 SEE ALSO 🌈


xoxo, your fav kernel bestie πŸ§šπŸ’œ β€” source/version: ./net/mac80211, dated October 2026; sta_info_free(9) signing off πŸŽ€βœ¨

πŸ“¦ where this page comes from