Source-Changes-HG archive

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

[src-draft/trunk]: src/sys/net80211 Remove accidentaly left over debug code



details:   https://anonhg.NetBSD.org/src-all/rev/edc8c84a93b7
branches:  trunk
changeset: 377877:edc8c84a93b7
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Tue Dec 29 20:54:38 2020 +0100

description:
Remove accidentaly left over debug code

diffstat:

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

diffs (12 lines):

diff -r 7b50d21ce2c0 -r edc8c84a93b7 sys/net80211/ieee80211_proto.c
--- a/sys/net80211/ieee80211_proto.c    Tue Dec 29 20:54:02 2020 +0100
+++ b/sys/net80211/ieee80211_proto.c    Tue Dec 29 20:54:38 2020 +0100
@@ -2404,8 +2404,6 @@ ieee80211_new_state_locked(struct ieee80
            "%s: %s -> %s (nrunning %d nscanning %d)\n", __func__,
            ieee80211_state_name[ostate], ieee80211_state_name[nstate],
            nrunning, nscanning);
-if (ostate == IEEE80211_S_RUN && ostate != nstate)
-    panic("about to switch out of RUN state");
        switch (nstate) {
        case IEEE80211_S_SCAN:
                if (ostate == IEEE80211_S_INIT) {



Home | Main Index | Thread Index | Old Index