diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2006-02-04 11:36:33 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2006-02-04 11:36:33 +0000 |
commit | 167aa887ba3c5ccb8013d96e6a348dea865d41c2 (patch) | |
tree | 63cf4eb077691ec9652e80c721e0420e31ce011b | |
parent | 51c2f28717cdd4766aad20bf962562e4a6771114 (diff) |
silently discard f/w notifications that are unknown (fixes spurious
"unknown notification 15" in logs with latest firmware)
-rw-r--r-- | sys/dev/pci/if_iwi.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c index fb4c718cd80..eafe0355f98 100644 --- a/sys/dev/pci/if_iwi.c +++ b/sys/dev/pci/if_iwi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwi.c,v 1.58 2006/01/29 15:44:16 damien Exp $ */ +/* $OpenBSD: if_iwi.c,v 1.59 2006/02/04 11:36:32 damien Exp $ */ /*- * Copyright (c) 2004-2006 @@ -965,15 +965,8 @@ iwi_notification_intr(struct iwi_softc *sc, struct iwi_rx_buf *buf, } break; - case IWI_NOTIF_TYPE_CALIBRATION: - case IWI_NOTIF_TYPE_BEACON: - case IWI_NOTIF_TYPE_NOISE: - DPRINTFN(5, ("Notification (%u)\n", notif->type)); - break; - default: - printf("%s: unknown notification type %u\n", - sc->sc_dev.dv_xname, notif->type); + DPRINTFN(5, ("Notification (%u)\n", notif->type)); } } |