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/cf2ef8a6c955
branches:  trunk
changeset: 949440:cf2ef8a6c955
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 963a1bae6f91 -r cf2ef8a6c955 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