netdev: station: remove NETDEV_EVENT_FT_ROAMED

The notification for roaming success/failure is now handled with
the connect callback.
This commit is contained in:
James Prestwood 2023-12-06 12:18:02 -08:00 committed by Denis Kenzior
parent 393b6ee87b
commit 0979ff697a
2 changed files with 0 additions and 7 deletions

View File

@ -50,7 +50,6 @@ enum netdev_event {
NETDEV_EVENT_RSSI_THRESHOLD_HIGH,
NETDEV_EVENT_RSSI_LEVEL_NOTIFY,
NETDEV_EVENT_PACKET_LOSS_NOTIFY,
NETDEV_EVENT_FT_ROAMED,
NETDEV_EVENT_BEACON_LOSS_NOTIFY,
};

View File

@ -3444,12 +3444,6 @@ static void station_netdev_event(struct netdev *netdev, enum netdev_event event,
case NETDEV_EVENT_PACKET_LOSS_NOTIFY:
station_packets_lost(station, l_get_u32(event_data));
break;
case NETDEV_EVENT_FT_ROAMED:
if (L_WARN_ON(station->state != STATION_STATE_FT_ROAMING))
return;
station_roamed(station);
break;
case NETDEV_EVENT_BEACON_LOSS_NOTIFY:
station_beacon_lost(station);
break;