Fill return status correctly in twt resume dialog command. Change-Id: I2b04a4028f2f05aa7636bf59551cb97f999e22a1 CRs-Fixed: 3083812
@@ -3151,7 +3151,7 @@ hdd_send_twt_resume_dialog_cmd(struct hdd_context *hdd_ctx,
break;
case WMI_HOST_RESUME_TWT_STATUS_DIALOG_ID_NOT_EXIST:
case WMI_HOST_RESUME_TWT_STATUS_NOT_PAUSED:
- ret = EAGAIN;
+ ret = -EAGAIN;
case WMI_HOST_RESUME_TWT_STATUS_DIALOG_ID_BUSY:
ret = -EINPROGRESS;