diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2019-03-18 08:51:06 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-03 06:23:25 +0200 |
| commit | 3f1c0e4b79652cea3cecadf9af4ee5047a2de3d3 (patch) | |
| tree | bcb7944e5e32eb7807c7190d4b7201494fa32a3c /net/ipv6/tcp_ipv6.c | |
| parent | 2f242b299bcd79a8e4471c9c6e21c62219d350d7 (diff) | |
mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S
[ Upstream commit fae846e2b7124d4b076ef17791c73addf3b26350 ]
The device ID alone does not uniquely identify a device. Test both the
vendor and device ID to make sure we don't mistakenly think some other
vendor's 0xB410 device is a Digium HFC4S. Also, instead of the bare hex
ID, use the same constant (PCI_DEVICE_ID_DIGIUM_HFC4S) used in the device
ID table.
No functional change intended.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
