Browse Source

qcacld-3.0: Fill status correctly for twt resume

Fill return status correctly in twt resume dialog
command.

Change-Id: I2b04a4028f2f05aa7636bf59551cb97f999e22a1
CRs-Fixed: 3083812
Deeksha Gupta 3 years ago
parent
commit
50a7a731c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/hdd/src/wlan_hdd_twt.c

+ 1 - 1
core/hdd/src/wlan_hdd_twt.c

@@ -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;
 			break;
 		case WMI_HOST_RESUME_TWT_STATUS_DIALOG_ID_BUSY:
 			ret = -EINPROGRESS;