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:
parent
28f484ddb8
commit
68c819053b
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue