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:
parent
7d2b212f88
commit
ff96dfb5b1
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue