mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
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:
parent
b899cf8b8e
commit
489ac74236
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue