Commit f549a60b authored by Colin Ian King's avatar Colin Ian King Committed by Greg Kroah-Hartman

staging: rtl8188eu: fix typo in function name rtw_sctx_chk_waring_status

Trivial fix to typo in function name, rename it to
rtw_sctx_chk_warning_status.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f3145cb3
...@@ -2029,7 +2029,7 @@ int rtw_sctx_wait(struct submit_ctx *sctx) ...@@ -2029,7 +2029,7 @@ int rtw_sctx_wait(struct submit_ctx *sctx)
return ret; return ret;
} }
static bool rtw_sctx_chk_waring_status(int status) static bool rtw_sctx_chk_warning_status(int status)
{ {
switch (status) { switch (status) {
case RTW_SCTX_DONE_UNKNOWN: case RTW_SCTX_DONE_UNKNOWN:
...@@ -2047,7 +2047,7 @@ static bool rtw_sctx_chk_waring_status(int status) ...@@ -2047,7 +2047,7 @@ static bool rtw_sctx_chk_waring_status(int status)
void rtw_sctx_done_err(struct submit_ctx **sctx, int status) void rtw_sctx_done_err(struct submit_ctx **sctx, int status)
{ {
if (*sctx) { if (*sctx) {
if (rtw_sctx_chk_waring_status(status)) if (rtw_sctx_chk_warning_status(status))
DBG_88E("%s status:%d\n", __func__, status); DBG_88E("%s status:%d\n", __func__, status);
(*sctx)->status = status; (*sctx)->status = status;
complete(&((*sctx)->done)); complete(&((*sctx)->done));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment