Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/phil-wifi]: src/sys/net80211 Make ostate reflect the updated state.
details: https://anonhg.NetBSD.org/src/rev/4eeebdec0cd4
branches: phil-wifi
changeset: 1025138:4eeebdec0cd4
user: nat <nat%NetBSD.org@localhost>
date: Mon Apr 27 07:40:50 2020 +0000
description:
Make ostate reflect the updated state.
diffstat:
sys/net80211/ieee80211_sta.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 8351e9b0231c -r 4eeebdec0cd4 sys/net80211/ieee80211_sta.c
--- a/sys/net80211/ieee80211_sta.c Mon Apr 27 07:38:25 2020 +0000
+++ b/sys/net80211/ieee80211_sta.c Mon Apr 27 07:40:50 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ieee80211_sta.c,v 1.1.2.6 2019/06/10 22:09:46 christos Exp $ */
+/* $NetBSD: ieee80211_sta.c,v 1.1.2.7 2020/04/27 07:40:50 nat Exp $ */
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_sta.c,v 1.1.2.6 2019/06/10 22:09:46 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_sta.c,v 1.1.2.7 2020/04/27 07:40:50 nat Exp $");
#endif
@@ -298,6 +298,7 @@
default:
break;
}
+ ostate = vap->iv_state;
if (ostate != IEEE80211_S_INIT) {
/* NB: optimize INIT -> INIT case */
ieee80211_reset_bss(vap);
@@ -464,6 +465,7 @@
goto invalid;
}
ieee80211_sync_curchan(ic);
+ ostate = vap->iv_state;
if (ostate != IEEE80211_S_RUN)
sta_swbmiss_start(vap);
/*
Home |
Main Index |
Thread Index |
Old Index