Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1
gnome-control-center
control-center-ignore-unmanaged-wifi-devices.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File control-center-ignore-unmanaged-wifi-devices.patch of Package gnome-control-center
From cb760e77af0b566f6fcc96fe162a875403665877 Mon Sep 17 00:00:00 2001 From: Jonathan Kang <jonathan121537@gmail.com> Date: Mon, 21 May 2018 15:23:04 +0800 Subject: [PATCH] wifi: only manage Wi-Fi devices managed by NM If a Wi-Fi device is unmanaged by NetworkManager, ignore it. --- panels/network/cc-wifi-panel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panels/network/cc-wifi-panel.c b/panels/network/cc-wifi-panel.c index d785bad0d..8db43c349 100644 --- a/panels/network/cc-wifi-panel.c +++ b/panels/network/cc-wifi-panel.c @@ -91,7 +91,8 @@ add_wifi_device (CcWifiPanel *self, NetObject *net_device; /* Only manage Wi-Fi devices */ - if (!NM_IS_DEVICE_WIFI (device)) + if (!NM_IS_DEVICE_WIFI (device) || + !nm_device_get_managed (device)) return; /* Create the NetDevice */ -- 2.17.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor