summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@openbsd.org>2006-02-04 11:36:32 +0000
committerdamien <damien@openbsd.org>2006-02-04 11:36:32 +0000
commitec821ee690746a47a22e90c0b4c1959411d77b08 (patch)
treeec12d5ead899d78fee76dc7aa9c6857c374e15a8
parenthandle link state change interrupts but do nothing for now (diff)
downloadwireguard-openbsd-ec821ee690746a47a22e90c0b4c1959411d77b08.tar.xz
wireguard-openbsd-ec821ee690746a47a22e90c0b4c1959411d77b08.zip
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.c11
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));
}
}