diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2015-02-07 19:04:42 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2015-02-07 19:04:42 +0000 |
commit | 701395e58937f55692c3467ebd02e2eaf52d0f5f (patch) | |
tree | 44feae25c3cd4c31e65c816fc858f5dd17fcde62 | |
parent | fd76a5544aa1941475c6da83de9283990934ccaa (diff) |
Don't panic on unhandled net80211 state transitions in iwm(4).
Other drivers don't do this either.
-rw-r--r-- | sys/dev/pci/if_iwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c index e273d0a4f15..c20c0ed7600 100644 --- a/sys/dev/pci/if_iwm.c +++ b/sys/dev/pci/if_iwm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwm.c,v 1.3 2015/02/07 07:10:44 phessler Exp $ */ +/* $OpenBSD: if_iwm.c,v 1.4 2015/02/07 19:04:41 stsp Exp $ */ /* * Copyright (c) 2014 genua mbh <info@genua.de> @@ -5439,7 +5439,7 @@ iwm_newstate_cb(void *wk) break; } default: - panic("unsupported state %d\n", nstate); + break; } sc->sc_newstate(ic, nstate, arg); |