mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-20 12:39:25 +01:00
device: honor autoconnect in device_disassociated
This commit is contained in:
parent
8242e9b9aa
commit
e7e6326179
@ -533,7 +533,10 @@ static void device_disassociated(struct device *device)
|
||||
IWD_NETWORK_INTERFACE, "Connected");
|
||||
}
|
||||
|
||||
device_enter_state(device, DEVICE_STATE_AUTOCONNECT);
|
||||
device_enter_state(device, DEVICE_STATE_DISCONNECTED);
|
||||
|
||||
if (device->autoconnect)
|
||||
device_enter_state(device, DEVICE_STATE_AUTOCONNECT);
|
||||
}
|
||||
|
||||
static void device_lost_beacon(struct device *device)
|
||||
|
Loading…
Reference in New Issue
Block a user