Return OS error code instead of QDF error code. Change-Id: I9d0fd8586c78b8e8210b27bfc8ac13812f420e6a CRs-Fixed: 3302703
@@ -1298,7 +1298,7 @@ static int __wlan_hdd_bus_suspend(struct wow_enable_params wow_params,
if (hif_try_prevent_ep_vote_access(hif_ctx)) {
hdd_debug("Prevent suspend, ep work pending");
- err = QDF_STATUS_E_BUSY;
+ err = -EBUSY;
goto resume_txrx;
}