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
1 changed files with 1 additions and 1 deletions

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)