pc/wifi: prevent calling driver from pthread

Querying the RFKILL state led to execution of the Lx_kit::scheduler by
the pthread running the wpa_supplicant. As this may not happen the
RFKILL state is now solely managed by the driver and only the cached
state is read by the supplicant.

Fixes #4537.
This commit is contained in:
Josef Söntgen
2022-06-23 15:53:48 +02:00
committed by Christian Helmuth
parent 9d417ee2f5
commit 9393c0136c
5 changed files with 31 additions and 12 deletions

View File

@ -21,6 +21,5 @@ namespace Wifi {
}
bool wifi_get_rfkill(void);
void wifi_set_rfkill(bool);
#endif /* _WIFI__RFKILL_H_ */