[PATCH 3/3] move wifi activation fails logging to proper block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Otherwise we have 'wifi activation failed' log message even if there's no wifi-related line in kickstart.
---
 loader/kickstart.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/loader/kickstart.c b/loader/kickstart.c
index b038406..12082b1 100644
--- a/loader/kickstart.c
+++ b/loader/kickstart.c
@@ -671,11 +671,10 @@ int process_kickstart_wifi (struct loaderData_s * loaderData) {
                     WIFI_PROTECTION_UNPROTECTED, NULL, loaderData->ipinfo_set, loaderData->ipv4,
                     loaderData->gateway, loaderData->dns, loaderData->netmask);
         }
+        if (rc == WIFI_ACTIVATION_OK) loaderData->netDev_set = 1;
+        else logMessage(ERROR, "wifi activation in kickstart failed");
     }
 
-    if (rc == WIFI_ACTIVATION_OK) loaderData->netDev_set = 1;
-    else logMessage(ERROR, "wifi activation in kickstart failed");
-
     return rc;
 }
 
-- 
1.7.4.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux