Blame SOURCES/wifi-Remove-a-redundant-condition.patch

8c8af5
From b5f71cefda98277272d483dd4a31c71208dafd5f Mon Sep 17 00:00:00 2001
8c8af5
From: "Zeeshan Ali (Khattak)" <zeeshanak@gnome.org>
8c8af5
Date: Thu, 6 Nov 2014 20:21:50 +0000
8c8af5
Subject: [PATCH 2/7] wifi: Remove a redundant condition
8c8af5
8c8af5
We were only refreshing the location on starting of wifi source if
8c8af5
requested accuracy level was 'city'. This resulted in clients requesting
8c8af5
accuracy level other than 'city' to not get any location on machines
8c8af5
without a wifi card (e.g VMs).
8c8af5
8c8af5
This patches fixes the issue by removing the redundant condition.
8c8af5
---
8c8af5
 src/gclue-wifi.c | 3 +--
8c8af5
 1 file changed, 1 insertion(+), 2 deletions(-)
8c8af5
8c8af5
diff --git a/src/gclue-wifi.c b/src/gclue-wifi.c
8c8af5
index cf2c455..e94ef04 100644
8c8af5
--- a/src/gclue-wifi.c
8c8af5
+++ b/src/gclue-wifi.c
8c8af5
@@ -377,8 +377,7 @@ connect_bss_signals (GClueWifi *wifi)
8c8af5
         if (priv->bss_added_id != 0)
8c8af5
                 return;
8c8af5
         if (priv->interface == NULL) {
8c8af5
-                if (wifi->priv->accuracy_level == GCLUE_ACCURACY_LEVEL_CITY)
8c8af5
-                        gclue_web_source_refresh (GCLUE_WEB_SOURCE (wifi));
8c8af5
+                gclue_web_source_refresh (GCLUE_WEB_SOURCE (wifi));
8c8af5
 
8c8af5
                 return;
8c8af5
         }
8c8af5
-- 
8c8af5
2.1.0
8c8af5