Commit 22b2d7ca authored by Zeeshan Ali's avatar Zeeshan Ali

wifi: Remove a redundant condition

We were only refreshing the location on starting of wifi source if
requested accuracy level was 'city'. This resulted in clients requesting
accuracy level other than 'city' to not get any location on machines
without a wifi card (e.g VMs).

This patches fixes the issue by removing the redundant condition.
parent 468a0578
......@@ -377,8 +377,7 @@ connect_bss_signals (GClueWifi *wifi)
if (priv->bss_added_id != 0)
if (priv->interface == NULL) {
if (wifi->priv->accuracy_level == GCLUE_ACCURACY_LEVEL_CITY)
gclue_web_source_refresh (GCLUE_WEB_SOURCE (wifi));
gclue_web_source_refresh (GCLUE_WEB_SOURCE (wifi));
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment