* [PATCH] station: remove unused roam_no_orig_ap state variable
@ 2021-01-20 16:06 Alvin =?unknown-8bit?q?=C5=A0ipraga?=
2021-01-20 17:14 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Alvin =?unknown-8bit?q?=C5=A0ipraga?= @ 2021-01-20 16:06 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 1688 bytes --]
Since commit 836beb1276d1bc77889462ae514f0c5b708a38d7 removed beacon
loss handling, the roam_no_orig_ap variable has no use and is always set
to false. This commit removes it.
---
src/station.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/station.c b/src/station.c
index 2b79aaa7..c65fc0cc 100644
--- a/src/station.c
+++ b/src/station.c
@@ -106,7 +106,6 @@ struct station {
bool preparing_roam : 1;
bool roam_scan_full : 1;
bool signal_low : 1;
- bool roam_no_orig_ap : 1;
bool ap_directed_roaming : 1;
bool scanning : 1;
bool autoconnect : 1;
@@ -1369,7 +1368,6 @@ static void station_roamed(struct station *station)
*/
station->signal_low = false;
station->roam_min_time.tv_sec = 0;
- station->roam_no_orig_ap = false;
station->roam_scan_full = false;
if (station->netconfig)
@@ -1627,7 +1625,6 @@ static void station_transition_start(struct station *station,
* the current association."
*/
if (security == SECURITY_8021X &&
- !station->roam_no_orig_ap &&
scan_bss_get_rsn_info(station->connected_bss,
&cur_rsne) >= 0 &&
scan_bss_get_rsn_info(bss, &target_rsne) >= 0 &&
@@ -2069,8 +2066,7 @@ static void station_roam_trigger_cb(struct l_timeout *timeout, void *user_data)
l_debug("Using cached neighbor report for roam");
return;
}
- } else if (station->connected_bss->cap_rm_neighbor_report &&
- !station->roam_no_orig_ap) {
+ } else if (station->connected_bss->cap_rm_neighbor_report) {
if (netdev_neighbor_report_req(station->netdev,
station_neighbor_report_cb) == 0) {
l_debug("Requesting neighbor report for roam");
--
2.29.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] station: remove unused roam_no_orig_ap state variable
2021-01-20 16:06 [PATCH] station: remove unused roam_no_orig_ap state variable Alvin =?unknown-8bit?q?=C5=A0ipraga?=
@ 2021-01-20 17:14 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2021-01-20 17:14 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 375 bytes --]
Hi Alvin,
On 1/20/21 10:06 AM, Alvin Šipraga wrote:
> Since commit 836beb1276d1bc77889462ae514f0c5b708a38d7 removed beacon
> loss handling, the roam_no_orig_ap variable has no use and is always set
> to false. This commit removes it.
> ---
> src/station.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
Applied, thanks!
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-20 17:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-20 16:06 [PATCH] station: remove unused roam_no_orig_ap state variable Alvin =?unknown-8bit?q?=C5=A0ipraga?=
2021-01-20 17:14 ` Denis Kenzior
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox