staging: rtl8188eu: fix typo in function name rtw_sctx_chk_waring_status
authorColin Ian King <colin.king@canonical.com>
Sat, 27 Oct 2018 14:26:18 +0000 (15:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Nov 2018 14:25:39 +0000 (15:25 +0100)
Trivial fix to typo in function name, rename it to
rtw_sctx_chk_warning_status.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_xmit.c

index 0a3e710590ed0239a78e52727f52b3f40e2917ca..b218b9deff7bc2a7386389c3cc98c4700474ccfb 100644 (file)
@@ -2029,7 +2029,7 @@ int rtw_sctx_wait(struct submit_ctx *sctx)
        return ret;
 }
 
-static bool rtw_sctx_chk_waring_status(int status)
+static bool rtw_sctx_chk_warning_status(int status)
 {
        switch (status) {
        case RTW_SCTX_DONE_UNKNOWN:
@@ -2047,7 +2047,7 @@ static bool rtw_sctx_chk_waring_status(int status)
 void rtw_sctx_done_err(struct submit_ctx **sctx, int status)
 {
        if (*sctx) {
-               if (rtw_sctx_chk_waring_status(status))
+               if (rtw_sctx_chk_warning_status(status))
                        DBG_88E("%s status:%d\n", __func__, status);
                (*sctx)->status = status;
                complete(&((*sctx)->done));