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/95c7f1ae75b9
branches:  trunk
changeset: 949699:95c7f1ae75b9
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 7bb617f4f8c6 -r 95c7f1ae75b9 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 @@
            "%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