3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

knownnetworks: move network_info into knownnetworks

This commit is contained in:
James Prestwood 2019-08-15 13:15:12 -07:00 committed by Denis Kenzior
parent 1921990acd
commit 5caf8796cd
2 changed files with 10 additions and 11 deletions

View File

@ -21,7 +21,6 @@
*/
enum security;
struct network_info;
struct scan_freq_set;
enum known_networks_event {
@ -29,6 +28,16 @@ enum known_networks_event {
KNOWN_NETWORKS_EVENT_REMOVED,
};
struct network_info {
char ssid[33];
enum security type;
struct l_queue *known_frequencies;
struct timespec connected_time; /* Time last connected */
int seen_count; /* Ref count for network.info */
bool is_hidden:1;
bool is_autoconnectable:1;
};
typedef bool (*known_networks_foreach_func_t)(const struct network_info *info,
void *user_data);

View File

@ -75,13 +75,3 @@ void network_connect_new_hidden_network(struct network *network,
struct l_dbus_message *message);
void network_blacklist_add(struct network *network, struct scan_bss *bss);
struct network_info {
char ssid[33];
enum security type;
struct l_queue *known_frequencies;
struct timespec connected_time; /* Time last connected */
int seen_count; /* Ref count for network.info */
bool is_hidden:1;
bool is_autoconnectable:1;
};