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/3aa6d57edb44
branches:  trunk
changeset: 951444:3aa6d57edb44
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 ad63d8dfc752 -r 3aa6d57edb44 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