From 489ac742361a2bdd2c33b9a66c537de547ef57c5 Mon Sep 17 00:00:00 2001 From: Venkateswara Swamy Bandaru Date: Wed, 3 Jan 2018 12:42:08 +0530 Subject: [PATCH] qcacmn: Fix kernel panic in wifi down path Fix allocation size of hif context in case of ahb. Change-Id: I306135f91706840988665d342ec897676ab3e161 CRs-Fixed: 2155377 --- hif/src/dispatcher/multibus_ahb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hif/src/dispatcher/multibus_ahb.c b/hif/src/dispatcher/multibus_ahb.c index 960f8cea6010..49cfae70445d 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); }