From 63e08b3c01d80d6cb5fd84e84496ba5a8824ea5b Mon Sep 17 00:00:00 2001 From: Ajit Pal Singh Date: Tue, 4 Sep 2018 18:06:23 +0530 Subject: [PATCH] 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 --- hif/src/usb/if_usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hif/src/usb/if_usb.c b/hif/src/usb/if_usb.c index f383b1eaadea..88081905f0be 100644 --- a/hif/src/usb/if_usb.c +++ b/hif/src/usb/if_usb.c @@ -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;