qcacmn: Fix kernel panic in wifi down path
Fix allocation size of hif context in case of ahb. Change-Id: I306135f91706840988665d342ec897676ab3e161 CRs-Fixed: 2155377
This commit is contained in:

committed by
snandini

parent
b899cf8b8e
commit
489ac74236
@@ -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
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* 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)
|
int hif_ahb_get_context_size(void)
|
||||||
{
|
{
|
||||||
return sizeof(struct HIF_CE_state);
|
return sizeof(struct hif_pci_softc);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user