wireless: gs2200m: Fix sendto_request() in gs2200m_main.c

Signed-off-by: Masayuki Ishikawa <<Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2020-01-28 17:15:35 +09:00 committed by Alin Jerpelea
parent eb1af03259
commit e4af73ec56

View File

@ -802,7 +802,9 @@ static int sendto_request(int fd, FAR struct gs2200m_s *priv,
goto prepare;
}
ret = req->buflen;
/* return length which gs2200m sent */
ret = smsg.len;
}
prepare: