mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-16 17:09:24 +01:00
station: add station_get_autoconnect
Gets the current autoconenct setting. This is not the current autoconnect state. Will be used in DPP to reset station's autoconnect setting back to what it was prior to DPP, in case of failure.
This commit is contained in:
parent
30ca00d2c4
commit
5cdad6ab86
@ -1726,6 +1726,11 @@ bool station_set_autoconnect(struct station *station, bool autoconnect)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool station_get_autoconnect(struct station *station)
|
||||||
|
{
|
||||||
|
return station->autoconnect;
|
||||||
|
}
|
||||||
|
|
||||||
static void station_roam_state_clear(struct station *station)
|
static void station_roam_state_clear(struct station *station)
|
||||||
{
|
{
|
||||||
l_debug("%u", netdev_get_ifindex(station->netdev));
|
l_debug("%u", netdev_get_ifindex(station->netdev));
|
||||||
|
@ -88,6 +88,7 @@ uint32_t station_add_event_watch(station_event_watch_func_t func,
|
|||||||
void station_remove_event_watch(uint32_t id);
|
void station_remove_event_watch(uint32_t id);
|
||||||
|
|
||||||
bool station_set_autoconnect(struct station *station, bool autoconnect);
|
bool station_set_autoconnect(struct station *station, bool autoconnect);
|
||||||
|
bool station_get_autoconnect(struct station *station);
|
||||||
|
|
||||||
int __station_connect_network(struct station *station, struct network *network,
|
int __station_connect_network(struct station *station, struct network *network,
|
||||||
struct scan_bss *bss, enum station_state state);
|
struct scan_bss *bss, enum station_state state);
|
||||||
|
Loading…
Reference in New Issue
Block a user