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
This commit is contained in:
Venkateswara Swamy Bandaru 2018-05-08 16:17:21 +05:30 • committed by nshrivas
commit 0927a44520

View file

@ -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 @@ static inline int hif_exec_event(struct hif_opaque_softc *hif,
enum qca_napi_event event,
void *data)
{
return -EPERM;
return 0;
}
#endif
#endif