diff options
author | weongyo <weongyo@FreeBSD.org> | 2010-07-10 22:37:23 +0000 |
---|---|---|
committer | weongyo <weongyo@FreeBSD.org> | 2010-07-10 22:37:23 +0000 |
commit | d1622ddea9bd04c1a10ea27de0722715376062a9 (patch) | |
tree | 3be9354011928256808c80b57ecb218e2b0a8732 /sys/dev/bwi/if_bwi_pci.c | |
parent | 20410e1e6b6e6449666cc2f2641f2a14995406b3 (diff) | |
download | FreeBSD-src-d1622ddea9bd04c1a10ea27de0722715376062a9.zip FreeBSD-src-d1622ddea9bd04c1a10ea27de0722715376062a9.tar.gz |
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
Diffstat (limited to 'sys/dev/bwi/if_bwi_pci.c')
-rw-r--r-- | sys/dev/bwi/if_bwi_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/bwi/if_bwi_pci.c b/sys/dev/bwi/if_bwi_pci.c index 10a9e06..fdf282b 100644 --- a/sys/dev/bwi/if_bwi_pci.c +++ b/sys/dev/bwi/if_bwi_pci.c @@ -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 |