@@ -350,6 +350,8 @@ static bool process_network(const void *key, void *data, void *user_data)
l_queue_insert(station->networks_sorted, network,
network_rank_compare, NULL);
+ network_update_known_frequencies(network);
+
return false;
}
@@ -799,6 +801,8 @@ free:
scan_bss_free(bss);
}
+ network_update_known_frequencies(network);
+
l_queue_destroy(bss_list, NULL);
done:
@@ -3684,6 +3688,8 @@ next:
return true;
}
+ network_update_known_frequencies(network_psk ?: network_open);
+
error = network_connect_new_hidden_network(network_psk ?: network_open,
msg);