qcacmn: Fix return value of hif_exec_event
Fix return value of hif_exec_event when HIF_IRQ_AFFINITY is not defined.
return success in this case.
Change-Id: Icf9d7d15b67aea987fba7be24f6037d67f7d6adf
CRs-Fixed: 2238090
diff --git a/hif/src/hif_irq_affinity.h b/hif/src/hif_irq_affinity.h
index 6a2235c..74b0470 100644
--- a/hif/src/hif_irq_affinity.h
+++ b/hif/src/hif_irq_affinity.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2015-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
@@ -58,7 +58,7 @@
enum qca_napi_event event,
void *data)
{
- return -EPERM;
+ return 0;
}
#endif
#endif