diff options
| author | ardong chen <ardong@qca.qualcomm.com> | 2014-04-29 16:41:39 +0530 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-05-01 09:07:06 -0700 |
| commit | be7effc0d4c10101a8bf2068a9c8dc5cfef54cc2 (patch) | |
| tree | d973542991ec694de3a96045cf5b7c8912a1eedb | |
| parent | 7726714a9056cd9b1772dbd528215222c5f9fe23 (diff) | |
qcacld-new: [HIF/USB] ROME USB module load failed with con_mode=5
When loading wlan.ko (USB interface) with con_mode=5 in X86
linux platform, default value max_no_of_peers = 0 will lead
macOpen() return failed.
Here set the initial value to 1 as PCI/SDIO did.
CRs-fixed: 627775
Change-Id: I78dd91bbf9e4c9914f09cdf53b2b8432ce32ddb0
| -rw-r--r-- | CORE/SERVICES/HIF/USB/if_usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CORE/SERVICES/HIF/USB/if_usb.c b/CORE/SERVICES/HIF/USB/if_usb.c index fcbcf0bd5b8d..f1c5855998e8 100644 --- a/CORE/SERVICES/HIF/USB/if_usb.c +++ b/CORE/SERVICES/HIF/USB/if_usb.c @@ -165,6 +165,7 @@ hif_usb_probe(struct usb_interface *interface, const struct usb_device_id *id) ol_sc->enableuartprint = 1; ol_sc->enablefwlog = 0; ol_sc->enablesinglebinary = FALSE; + ol_sc->max_no_of_peers = 1; init_waitqueue_head(&ol_sc->sc_osdev->event_queue); |
