Wireless Daemon for Linux
 help / color / mirror / Atom feed
From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.01.org
Subject: [PATCH 1/3] station: clear out roam frequencies after roam
Date: Mon, 29 Mar 2021 12:07:40 -0700	[thread overview]
Message-ID: <20210329190742.713249-1-prestwoj@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 532 bytes --]

---
 src/station.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/station.c b/src/station.c
index ba4483e6..0d4cd47d 100644
--- a/src/station.c
+++ b/src/station.c
@@ -1442,6 +1442,11 @@ static void station_roamed(struct station *station)
 	if (station->netconfig)
 		netconfig_reconfigure(station->netconfig);
 
+	if (station->roam_freqs) {
+		scan_freq_set_free(station->roam_freqs);
+		station->roam_freqs = NULL;
+	}
+
 	station_enter_state(station, STATION_STATE_CONNECTED);
 }
 
-- 
2.26.2

             reply	other threads:[~2021-03-29 19:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-29 19:07 James Prestwood [this message]
2021-03-29 19:07 ` [PATCH 2/3] station: unify firmware/normal roaming James Prestwood
2021-03-29 19:07 ` [PATCH 3/3] station: get neighbor report after roaming James Prestwood
2021-03-29 19:12 ` [PATCH 1/3] station: clear out roam frequencies after roam Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210329190742.713249-1-prestwoj@gmail.com \
    --to=prestwoj@gmail.com \
    --cc=iwd@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox