commit cff0600621a7fbd2bc8a7ff960cf47516f49d0ca
parent d51c3db4ce66991184414f1064c81f5df0861630
Author: Denis Kenzior <denkenz@gmail.com>
Date: Mon, 28 Jan 2019 15:52:18 -0600
station: Use station_disassociated instead
station_disconnect can trigger yet another netdev_disconnect call (which
would obviously fail since we're no longer connected)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/station.c b/src/station.c
@@ -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)