staging: wilc1000: use strlen instead of WILC_strlen

Use strlen instead of WILC_strlen 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:13 +09:00 committed by Greg Kroah-Hartman
parent 7d2b212f88
commit ff96dfb5b1

View file

@ -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: