Re: Latest Fedora 7 NM can't disable wireless
- From: dragoran <drago01 gmail com>
- To: "Dan Williams" <dcbw redhat com>
- Cc: Matthew Saltzman <mjs clemson edu>, NetworkManager-list gnome org
- Subject: Re: Latest Fedora 7 NM can't disable wireless
- Date: Tue, 26 Jun 2007 23:42:20 +0200
sorry attached the wrong patch.
this is the working one (also set the variable to true in this case)
diff -ru NetworkManager-0.6.5.orig/src/NetworkManager.c NetworkManager-0.6.5/src/NetworkManager.c
--- NetworkManager-0.6.5.orig/src/NetworkManager.c 2007-06-21 14:00:30.000000000 +0200
+++ NetworkManager-0.6.5/src/NetworkManager.c 2007-06-26 23:35:29.000000000 +0200
@@ -532,8 +532,11 @@
dbus_error_init (&error);
udis = libhal_find_device_by_capability (data->hal_ctx, "killswitch", &num_udis, &error);
- if (!udis)
+
+ if (!udis || !num_udis) {
+ data->hw_rf_enabled = TRUE;
return;
+ }
if (dbus_error_is_set (&error)) {
nm_warning("Could not find killswitch devices: %s", error.message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]