diff options
author | Leo Kim | 2015-10-12 09:55:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-10-13 05:58:01 +0200 |
commit | 2fd3e44354370aea686a50e9f18b92d6a8d2b5fe (patch) | |
tree | 4582fefa3fbf184e77982e3e33a9ddddffe32203 /drivers/staging/wilc1000/coreconfigurator.c | |
parent | staging: wilc1000: rename the member variable, u16WIDid of wid (diff) | |
download | kernel-qcow2-linux-2fd3e44354370aea686a50e9f18b92d6a8d2b5fe.tar.gz kernel-qcow2-linux-2fd3e44354370aea686a50e9f18b92d6a8d2b5fe.tar.xz kernel-qcow2-linux-2fd3e44354370aea686a50e9f18b92d6a8d2b5fe.zip |
staging: wilc1000: rename the member variable, s32ValueSize of wid
This patch renames s32ValueSize of struct wid to size.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/coreconfigurator.c')
-rw-r--r-- | drivers/staging/wilc1000/coreconfigurator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index 05a0c1604a34..e51ae3a4439e 100644 --- a/drivers/staging/wilc1000/coreconfigurator.c +++ b/drivers/staging/wilc1000/coreconfigurator.c @@ -614,10 +614,10 @@ s32 send_config_pkt(u8 mode, struct wid *wids, u32 count, u32 drv) } counter = 0; for (counter = 0; counter < count; counter++) { - wids[counter].s32ValueSize = wilc_wlan_cfg_get_val( + wids[counter].size = wilc_wlan_cfg_get_val( wids[counter].id, wids[counter].ps8WidVal, - wids[counter].s32ValueSize); + wids[counter].size); } } else if (mode == SET_CFG) { @@ -626,7 +626,7 @@ s32 send_config_pkt(u8 mode, struct wid *wids, u32 count, u32 drv) if (!wilc_wlan_cfg_set(!counter, wids[counter].id, wids[counter].ps8WidVal, - wids[counter].s32ValueSize, + wids[counter].size, (counter == count - 1), drv)) { ret = -1; |