aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2020-06-30 10:21:24 -0500
committerDenis Kenzior <denkenz@gmail.com>2020-06-30 10:23:40 -0500
commitfaa31802c57b50a269458142a81adee2450f73c4 (patch)
treec7d52ec4868d4ddf3266665fac786b3304d30169
parentec7044d6152f72c6e1feb2c2f9937e8811e7c5f4 (diff)
downloadiwd-faa31802c57b50a269458142a81adee2450f73c4.tar.gz
station: Don't reset roam_no_orig_ap on roam failure
If the roam attempt fails, do not reset this to false. Generally this is set by the fact that we lost beacon and to not attempt neighbor reports, etc. This hint should be preserved across roam attempts.
-rw-r--r--src/station.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/station.c b/src/station.c
index 80b6f07e7..a022b6ac7 100644
--- a/src/station.c
+++ b/src/station.c
@@ -1375,7 +1375,6 @@ static void station_roam_failed(struct station *station)
l_debug("%u", netdev_get_ifindex(station->netdev));
station->preparing_roam = false;
- station->roam_no_orig_ap = false;
station->ap_directed_roaming = false;
if (station->state == STATION_STATE_ROAMING)