staging: wilc1000: Use strncpy instead of WILC_strncpy

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>
This commit is contained in:
Chaehyun Lim 2015-08-10 11:33:15 +09:00 committed by Greg Kroah-Hartman
parent 1799cb6188
commit 85b509f18a
1 changed files with 1 additions and 1 deletions

View 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;