From a90abbc22eb22d8941e1c05122fd3168c9516366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Fri, 24 Jun 2022 13:34:35 +0200 Subject: [PATCH] pc/wifi: get RFKILL state on frontend construction Issue #4537. --- repos/pc/src/drivers/wifi/pc/frontend.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/repos/pc/src/drivers/wifi/pc/frontend.h b/repos/pc/src/drivers/wifi/pc/frontend.h index 5382174798..f7d786c91a 100644 --- a/repos/pc/src/drivers/wifi/pc/frontend.h +++ b/repos/pc/src/drivers/wifi/pc/frontend.h @@ -1581,6 +1581,9 @@ struct Wifi::Frontend /* read in list of APs */ _config_update(false); + /* get initial RFKILL state */ + _handle_rfkill(); + /* kick-off initial scanning */ _handle_scan_timer(); }