svn commit: r209892 - head/sys/dev/bwi
Weongyo Jeong
weongyo at FreeBSD.org
Sat Jul 10 22:37:23 UTC 2010
Author: weongyo
Date: Sat Jul 10 22:37:23 2010
New Revision: 209892
URL: http://svn.freebsd.org/changeset/base/209892
Log:
Fixes a page fault in bwi_pci_probe() because the array isn't terminated
with NULL.
PR: kern/148473
Submitted by: Grzegorz Dabrowski <grzegorz.dabrowski at gmail dot com>
MFC after: 1 week
Modified:
head/sys/dev/bwi/if_bwi_pci.c
Modified: head/sys/dev/bwi/if_bwi_pci.c
==============================================================================
--- head/sys/dev/bwi/if_bwi_pci.c Sat Jul 10 22:29:05 2010 (r209891)
+++ head/sys/dev/bwi/if_bwi_pci.c Sat Jul 10 22:37:23 2010 (r209892)
@@ -91,7 +91,8 @@ static const struct bwi_dev {
{ PCI_VENDOR_BROADCOM, 0x4324,"Broadcom BCM4309 802.11a/b/g Wireless Lan" },
{ PCI_VENDOR_BROADCOM, 0x4318,"Broadcom BCM4318 802.11b/g Wireless Lan" },
{ PCI_VENDOR_BROADCOM, 0x4319,"Broadcom BCM4318 802.11a/b/g Wireless Lan" },
- { PCI_VENDOR_BROADCOM, 0x431a,"Broadcom BCM4318 802.11a Wireless Lan" }
+ { PCI_VENDOR_BROADCOM, 0x431a,"Broadcom BCM4318 802.11a Wireless Lan" },
+ { 0, 0, NULL }
};
static int
More information about the svn-src-head
mailing list