genode/repos/dde_linux/include/wifi/rfkill.h
Josef Söntgen 9393c0136c 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.
2022-08-10 13:32:58 +02:00

26 lines
385 B
C++

/*
* \brief RFKILL interface
* \author Josef Soentgen
* \date 2018-07-11
*/
/*
* Copyright (C) 2018 Genode Labs GmbH
*
* This file is distributed under the terms of the GNU General Public License
* version 2.
*/
#ifndef _WIFI__RFKILL_H_
#define _WIFI__RFKILL_H_
namespace Wifi {
enum { RFKILL_FD = 42, };
}
bool wifi_get_rfkill(void);
#endif /* _WIFI__RFKILL_H_ */