ソースを参照

qcacmn: Fix kernel panic in wifi down path

Fix allocation size of hif context in case of ahb.

Change-Id: I306135f91706840988665d342ec897676ab3e161
CRs-Fixed: 2155377
Venkateswara Swamy Bandaru 7 年 前
コミット
489ac74236
1 ファイル変更2 行追加2 行削除
  1. 2 2
      hif/src/dispatcher/multibus_ahb.c

+ 2 - 2
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);
 }