mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
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:
parent
6f1af61798
commit
63e08b3c01
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue