3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 02:19:26 +01:00

knownnetworks: add hotspot flag to network_info

Hotspot will start adding its own known networks and other modules
need a way of differentiating between the two network types.
This commit is contained in:
James Prestwood 2019-08-15 13:15:15 -07:00 committed by Denis Kenzior
parent 28f484ddb8
commit 68c819053b

View File

@ -47,6 +47,7 @@ struct network_info {
int seen_count; /* Ref count for network.info */ int seen_count; /* Ref count for network.info */
bool is_hidden:1; bool is_hidden:1;
bool is_autoconnectable:1; bool is_autoconnectable:1;
bool is_hotspot:1;
}; };
typedef bool (*known_networks_foreach_func_t)(const struct network_info *info, typedef bool (*known_networks_foreach_func_t)(const struct network_info *info,