qcacmn: Pass product_id to hif_get_device_type()

Pass product_id instead of vendor_id to hif_get_device_type().

CRs-Fixed: 2325562
Change-Id: I7341a97ddb58c067a3b7aa78803f57922f87c6e9
This commit is contained in:
Ajit Pal Singh 2018-09-04 18:06:23 +05:30 • committed by nshrivas
commit 63e08b3c01

View file

@ -220,7 +220,7 @@ QDF_STATUS hif_usb_enable_bus(struct hif_softc *scn,
sc->dev = &usbdev->dev;
sc->devid = id->idProduct;
hif_get_device_type(vendor_id, 0, &hif_type, &target_type);
hif_get_device_type(product_id, 0, &hif_type, &target_type);
tgt_info = hif_get_target_info_handle(hif_hdl);
if (target_type == TARGET_TYPE_QCN7605)
tgt_info->target_type = TARGET_TYPE_QCN7605;