mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
station: Use station_disassociated instead
station_disconnect can trigger yet another netdev_disconnect call (which would obviously fail since we're no longer connected)
This commit is contained in:
parent
d51c3db4ce
commit
cff0600621
@ -1833,7 +1833,7 @@ static void station_disconnect_reconnect_cb(struct netdev *netdev, bool success,
|
||||
return;
|
||||
|
||||
error:
|
||||
station_disconnect(station);
|
||||
station_disassociated(station);
|
||||
}
|
||||
|
||||
static void station_reconnect(struct station *station)
|
||||
|
Loading…
Reference in New Issue
Block a user