mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Initialize irq_lock and connection_status_lock
Uninitialize spinlock caused crash on mdm platform. Change-Id: I0d86999d70e35c69775e698e69a8388de24d6fb3 CRs-Fixed: 951563
This commit is contained in:
parent
ea6109d49e
commit
8a13e5ca40
2 changed files with 3 additions and 0 deletions
|
|
@ -4749,6 +4749,7 @@ int hdd_wlan_startup(struct device *dev, void *hif_sc)
|
|||
init_completion(&hdd_ctx->ready_to_suspend);
|
||||
|
||||
spin_lock_init(&hdd_ctx->schedScan_lock);
|
||||
spin_lock_init(&hdd_ctx->connection_status_lock);
|
||||
|
||||
cdf_spinlock_init(&hdd_ctx->hdd_adapter_lock);
|
||||
cdf_list_init(&hdd_ctx->hddAdapters, MAX_NUMBER_OF_ADAPTERS);
|
||||
|
|
|
|||
|
|
@ -882,6 +882,8 @@ CDF_STATUS hif_bus_open(struct ol_softc *ol_sc, enum ath_hal_bus_type bus_type)
|
|||
sc->ol_sc = ol_sc;
|
||||
ol_sc->bus_type = bus_type;
|
||||
|
||||
cdf_spinlock_init(&ol_sc->irq_lock);
|
||||
|
||||
return CDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue