浏览代码

qcacmn: Fix implicit conversion compilation error

Fix compilation error of  implicit conversion from enumeration
type 'enum ipa_wlan_fw_ssr_event' to different enumeration type
'enum ipa_wlan_event' in function __qdf_to_ipa_wlan_event.

Change-Id: I7b5d3e964a5fa070a89aaf21bcb4ea2237a85a58
CRs-Fixed: 2324656
Sravan Kumar Kairam 6 年之前
父节点
当前提交
9066ad3aa7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      qdf/linux/src/qdf_ipa.c

+ 2 - 2
qdf/linux/src/qdf_ipa.c

@@ -25,9 +25,9 @@
 /* Include Files */
 #include <qdf_ipa.h>
 
-static enum ipa_wlan_event __qdf_to_ipa_wlan_event(int qdf_ipa_event)
+static uint8_t __qdf_to_ipa_wlan_event(int qdf_ipa_event)
 {
-	enum ipa_wlan_event ipa_event;
+	uint8_t ipa_event;
 
 	switch (qdf_ipa_event) {
 	case QDF_IPA_CLIENT_CONNECT: