Lines Matching refs:rfkill_path
54 static char rfkill_path[PATH_MAX]; variable
61 if (strlen(rfkill_path)<2) in rfkill_enabled()
63 if (access(rfkill_path, W_OK)) in rfkill_enabled()
66 file = fopen(rfkill_path, "r"); in rfkill_enabled()
81 if (strlen(rfkill_path)<2) in check_unused_wiresless_up()
83 if (access(rfkill_path, W_OK)) in check_unused_wiresless_up()
86 file = fopen(rfkill_path, "r"); in check_unused_wiresless_up()
213 rfkill_path[0] = 0; in find_wireless_nic()
267 sprintf(rfkill_path,"/sys/bus/pci/devices/%s/rfkill/rfkill0/state", driver.bus_info); in find_wireless_nic()
291 file = fopen(rfkill_path, "w"); in activate_rfkill_suggestion()
321 " echo 1 > %s \n"), rfkill_path); in suggest_wireless_powersave()