Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
NetworkManager
nm-dont-up-wireless-when-wifi-is-disabled.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nm-dont-up-wireless-when-wifi-is-disabled.patch of Package NetworkManager
From 6dae28cec639944351a5ce0693567b3b17d979b4 Mon Sep 17 00:00:00 2001 From: Tambet Ingo <tambet@gmail.com> Date: Tue, 31 Mar 2009 10:04:02 +0300 Subject: [PATCH] Don't bring wireless devices up when wifi is disabled. diff --git a/src/nm-device-wifi.c b/src/nm-device-wifi.c index df957c2..53891b0 100644 --- a/src/nm-device-wifi.c +++ b/src/nm-device-wifi.c @@ -886,6 +886,9 @@ real_hw_is_up (NMDevice *device) static gboolean real_hw_bring_up (NMDevice *dev, gboolean *no_firmware) { + if (!NM_DEVICE_WIFI_GET_PRIVATE (dev)->enabled) + return FALSE; + return nm_system_device_set_up_down (dev, TRUE, no_firmware); } -- 1.6.0.2
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