3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02: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:
Denis Kenzior 2019-01-28 15:52:18 -06:00
parent d51c3db4ce
commit cff0600621

View File

@ -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)