Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/net80211 Revert previous.



details:   https://anonhg.NetBSD.org/src-all/rev/88ee53b75d0e
branches:  trunk
changeset: 990101:88ee53b75d0e
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Fri May 01 11:36:06 2020 +1000

description:
Revert previous.

diffstat:

 sys/net80211/ieee80211_sta.c |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 18d40565e29f -r 88ee53b75d0e sys/net80211/ieee80211_sta.c
--- a/sys/net80211/ieee80211_sta.c      Fri May 01 11:12:08 2020 +1000
+++ b/sys/net80211/ieee80211_sta.c      Fri May 01 11:36:06 2020 +1000
@@ -301,7 +301,6 @@
                default:
                        break;
                }
-               ostate = vap->iv_state;
                if (ostate != IEEE80211_S_INIT) {
                        /* NB: optimize INIT -> INIT case */
                        ieee80211_reset_bss(vap);
@@ -468,7 +467,6 @@
                        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