rfkill_restore_states(9)
π rfkill_restore_states(9) π
okay so bestie, welcome to the Kernel API Manual β this is the whole vibe for rfkill_restore_states(9), and yes it's a short one but she's iconic, let's go β¨
πΈ NAME πΈ
rfkill_restore_states β restore global states. that's it. that's the whole pitch. she restores, she's global, she's states π
π¦ SYNOPSIS π¦
void rfkill_restore_states (void );
literally returns void, takes void, no drama, no notes π
π§ ARGUMENTS π§
voidβ no arguments. none. zero. the function said "i need nothing from you" and honestly? main character energy π
β DESCRIPTION β
okay so here's the teΠ° β β rfkill_restore_states restores the global state from the states chillin' in rfkill_default_states, and it also syncs the switches to that global state. so like, it's not just setting a value, it's making the switches agree with it. alignment. unity. we love to see it π«Ά
and the iconique part: this can undo the effects of a call to rfkill_epo π so if some earlier rfkill_epo moment happened, this is your little "actually, let's rewind" button. no cap, it's giving undo-button energy πβ¨
π₯ SEE ALSO π₯
all the siblings in the family, live from the kernel file ./net/rfkill/core.c π:
rfkill_set_block(9)__rfkill_switch_all(9)rfkill_switch_all(9)rfkill_epo(9)rfkill_remove_epo_lock(9)rfkill_is_epo_lock_active(9)rfkill_get_global_sw_state(9)
go read them, they're all lowkey connected, iykyk π
and that's the whole page bestie!! mwah π she lives in ./net/rfkill, dated October 2026, and her name is rfkill_restore_states(9) β go forth and restore those states, periodt ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms