Commit 85b509f1 authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: Use strncpy instead of WILC_strncpy



Use strncpy instead of WILC_strncpy that is a custom function

Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1799cb61
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;