wlan: Fix (-1) return values to conform to quic kernel coding standard
Change-Id: I055655e1c31ef30dd4fd329e2eb0187811bf6d48
CR-Fixed: NA
diff --git a/CORE/HDD/src/wlan_hdd_early_suspend.c b/CORE/HDD/src/wlan_hdd_early_suspend.c
index 6d96a86..191fd18 100644
--- a/CORE/HDD/src/wlan_hdd_early_suspend.c
+++ b/CORE/HDD/src/wlan_hdd_early_suspend.c
@@ -1824,7 +1824,7 @@
vos_mem_exit();
#endif
- return -1;
+ return -EPERM;
success:
//Trigger replay of BTC events
@@ -2326,7 +2326,7 @@
err_re_init:
/* Allow the phone to go to sleep */
hdd_allow_suspend();
- return -1;
+ return -EPERM;
success:
/* Trigger replay of BTC events */