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

staging: wilc1000: use strlen instead of WILC_strlen



Use strlen instead of WILC_strlen 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 7d2b212f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1577,8 +1577,8 @@ s32 further_process_response(u8 *resp,
	case WID_ADR:
		create_mac_addr(cfg_str, resp + idx);

		WILC_strncpy(pstrWIDresult->ps8WidVal, cfg_str, WILC_strlen(cfg_str));
		pstrWIDresult->ps8WidVal[WILC_strlen(cfg_str)] = '\0';
		WILC_strncpy(pstrWIDresult->ps8WidVal, cfg_str, strlen(cfg_str));
		pstrWIDresult->ps8WidVal[strlen(cfg_str)] = '\0';
		break;

	case WID_IP: