浏览代码

qcacld-3.0: Add include guard for file lim_process_fils.h

Add include guard for this file to fix compile error
'error: redefinition of lim_increase_fils_sequence_number'.

Change-Id: I85858525e79e6c29d1afbe2db7bb90a70071b4bc
CRs-Fixed: 3138791
Kai Liu 3 年之前
父节点
当前提交
3a2db50184
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      core/mac/src/pe/include/lim_process_fils.h

+ 5 - 0
core/mac/src/pe/include/lim_process_fils.h

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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
@@ -16,6 +17,9 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifndef __LIM_PROCESS_FILS_H
+#define __LIM_PROCESS_FILS_H
+
 #include <cds_api.h>
 #include <lim_global.h>
 #include <ani_global.h>
@@ -297,3 +301,4 @@ static inline bool lim_verify_fils_params_assoc_rsp(struct mac_context *mac_ctx,
 	return true;
 }
 #endif
+#endif