summaryrefslogtreecommitdiff
path: root/hif
diff options
context:
space:
mode:
authorVenkateswara Swamy Bandaru <vbandaru@codeaurora.org>2018-01-03 12:42:08 +0530
committersnandini <snandini@codeaurora.org>2018-01-04 15:34:34 -0800
commit489ac742361a2bdd2c33b9a66c537de547ef57c5 (patch)
treeb31c689a878a50f30e31786e357e45d46d2d2f53 /hif
parentb899cf8b8e2a0e57d915130e0abb7ca96224fe80 (diff)
downloadqca-wfi-host-cmn-489ac742361a2bdd2c33b9a66c537de547ef57c5.tar.gz
qcacmn: Fix kernel panic in wifi down path
Fix allocation size of hif context in case of ahb. Change-Id: I306135f91706840988665d342ec897676ab3e161 CRs-Fixed: 2155377
Diffstat (limited to 'hif')
-rw-r--r--hif/src/dispatcher/multibus_ahb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hif/src/dispatcher/multibus_ahb.c b/hif/src/dispatcher/multibus_ahb.c
index 960f8cea6..49cfae704 100644
--- a/hif/src/dispatcher/multibus_ahb.c
+++ b/hif/src/dispatcher/multibus_ahb.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -79,5 +79,5 @@ QDF_STATUS hif_initialize_ahb_ops(struct hif_bus_ops *bus_ops)
*/
int hif_ahb_get_context_size(void)
{
- return sizeof(struct HIF_CE_state);
+ return sizeof(struct hif_pci_softc);
}