slstatus/components
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
..
2022-11-24 00:01:52 +01:00
2022-10-28 01:03:46 +02:00
2025-07-24 22:41:25 +02:00
2022-10-28 01:03:46 +02:00
2026-02-12 22:46:02 +01:00