drkhsh
4f61bbbd8e
wifi: always retry ioctl for ifindex
...
ifindex() caches the result of ioctl(SIOCGIFINDEX) and never
retries it, since the interface name strcmp succeeds after the
first call. if the interface does not exist when slstatus starts
(e.g. iwd with default config destroys/recreates interfaces
depending on service state), the ioctl fails and the stale
result is returned on all subsequent calls.
based on a patch by ryhpez, with input from Taha Medhous
2026-02-12 22:46:02 +01:00
..
battery.c
battery: Consistent naming for capacity percentage
2022-12-19 02:44:21 +01:00
cat.c
New component: cat
2022-11-24 00:01:52 +01:00
cpu.c
radical re-formatting 3/3: Error checks
2022-10-28 01:03:46 +02:00
datetime.c
radical re-formatting 0/3: Alphabetic headers
2022-10-28 01:03:20 +02:00
disk.c
disk: Cast fsblkcnt_t to double instead of float
2022-12-19 02:44:21 +01:00
entropy.c
entropy: Use Unicode escape sequence in string
2022-12-19 02:44:21 +01:00
hostname.c
radical re-formatting 0/3: Alphabetic headers
2022-10-28 01:03:20 +02:00
ip.c
add 'up' for whether a interface is up or down
2025-04-30 03:09:55 +02:00
kernel_release.c
radical re-formatting 0/3: Alphabetic headers
2022-10-28 01:03:20 +02:00
keyboard_indicators.c
radical re-formatting 2/3: Fix blocks
2022-10-28 01:03:38 +02:00
keymap.c
Add underscore to separators in strtok() call in keymap.c
2025-04-30 03:08:02 +02:00
load_avg.c
radical re-formatting 0/3: Alphabetic headers
2022-10-28 01:03:20 +02:00
netspeeds.c
radical re-formatting 3/3: Error checks
2022-10-28 01:03:46 +02:00
num_files.c
num_files: opendir() returns a directory stream
2022-12-19 02:44:21 +01:00
ram.c
more concise memory calculation on Linux
2025-07-24 22:41:25 +02:00
run_command.c
radical re-formatting 2/3: Fix blocks
2022-10-28 01:03:38 +02:00
swap.c
radical re-formatting 3/3: Error checks
2022-10-28 01:03:46 +02:00
temperature.c
radical re-formatting 2/3: Fix blocks
2022-10-28 01:03:38 +02:00
uptime.c
uptime: Use sizeof instead of repeating the size
2022-12-19 02:44:21 +01:00
user.c
radical re-formatting 0/3: Alphabetic headers
2022-10-28 01:03:20 +02:00
volume.c
volume: avoid NULL dereference in onval() on sndio device switch
2026-02-12 22:45:28 +01:00
wifi.c
wifi: always retry ioctl for ifindex
2026-02-12 22:46:02 +01:00