diff options
author | James Prestwood <prestwoj@gmail.com> | 2023-12-06 12:18:02 -0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2023-12-13 10:12:53 -0600 |
commit | 0979ff697aff7eeb709112173b6ed2030500663b (patch) | |
tree | 1c0c667ec4282d598c443d624d7ccfa0be224c89 | |
parent | 393b6ee87bc0695f843dabd7583e8d7f171d148b (diff) |
netdev: station: remove NETDEV_EVENT_FT_ROAMED
The notification for roaming success/failure is now handled with
the connect callback.
-rw-r--r-- | src/netdev.h | 1 | ||||
-rw-r--r-- | src/station.c | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/netdev.h b/src/netdev.h index fb31b5715..d87f09f4b 100644 --- a/src/netdev.h +++ b/src/netdev.h @@ -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, }; diff --git a/src/station.c b/src/station.c index 52d87c842..73de26bbd 100644 --- a/src/station.c +++ b/src/station.c @@ -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; |