diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2015-08-10 02:33:15 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-15 01:39:52 (GMT) |
commit | 85b509f18a7f27d6cc296d62e96e4632c83161fd (patch) | |
tree | a6365c1e2d2dc6d5059803f91c3a01d72455bb64 /drivers/staging/wilc1000 | |
parent | 1799cb6188beeff1b36c8968f942e9a15759b773 (diff) | |
download | linux-85b509f18a7f27d6cc296d62e96e4632c83161fd.tar.xz |
staging: wilc1000: Use strncpy instead of WILC_strncpy
Use strncpy instead of WILC_strncpy that is a custom function
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000')
-rw-r--r-- | drivers/staging/wilc1000/coreconfigurator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index c59d9ba..a950d40 100644 --- a/drivers/staging/wilc1000/coreconfigurator.c +++ b/drivers/staging/wilc1000/coreconfigurator.c @@ -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; |