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

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
...@@ -1577,8 +1577,8 @@ s32 further_process_response(u8 *resp, ...@@ -1577,8 +1577,8 @@ s32 further_process_response(u8 *resp,
case WID_ADR: case WID_ADR:
create_mac_addr(cfg_str, resp + idx); create_mac_addr(cfg_str, resp + idx);
WILC_strncpy(pstrWIDresult->ps8WidVal, cfg_str, WILC_strlen(cfg_str)); WILC_strncpy(pstrWIDresult->ps8WidVal, cfg_str, strlen(cfg_str));
pstrWIDresult->ps8WidVal[WILC_strlen(cfg_str)] = '\0'; pstrWIDresult->ps8WidVal[strlen(cfg_str)] = '\0';
break; break;
case WID_IP: case WID_IP:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment