staging: wilc1000: Use strncpy instead of WILC_strncpy
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 10 Aug 2015 02:33:15 +0000 (11:33 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 01:39:52 +0000 (18:39 -0700)
Use strncpy instead of WILC_strncpy that is a custom function

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/coreconfigurator.c

index c59d9ba298cc9d8578d74eb3a4c53379ac799e36..a950d4054e38210dd9aa0a3131ddccfb44b0a701 100644 (file)
@@ -1577,7 +1577,7 @@ s32 further_process_response(u8 *resp,
        case WID_ADR:
                create_mac_addr(cfg_str, resp + idx);
 
-               WILC_strncpy(pstrWIDresult->ps8WidVal, cfg_str, strlen(cfg_str));
+               strncpy(pstrWIDresult->ps8WidVal, cfg_str, strlen(cfg_str));
                pstrWIDresult->ps8WidVal[strlen(cfg_str)] = '\0';
                break;