diff options
author | Leo Kim | 2015-10-12 09:55:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-10-13 05:58:01 +0200 |
commit | daaf16babf759b29c154e124586909a0b74d403b (patch) | |
tree | 4a83c61dedc5b94f0979a9d5e93cf17ce3dd7f18 /drivers/staging/wilc1000/coreconfigurator.c | |
parent | staging: wilc1000: rename the member variable, enuWIDtype of wid (diff) | |
download | kernel-qcow2-linux-daaf16babf759b29c154e124586909a0b74d403b.tar.gz kernel-qcow2-linux-daaf16babf759b29c154e124586909a0b74d403b.tar.xz kernel-qcow2-linux-daaf16babf759b29c154e124586909a0b74d403b.zip |
staging: wilc1000: rename the member variable, u16WIDid of wid
This patch renames u16WIDid of struct wid to id.
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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index 2e063f643f75..05a0c1604a34 100644 --- a/drivers/staging/wilc1000/coreconfigurator.c +++ b/drivers/staging/wilc1000/coreconfigurator.c @@ -604,7 +604,7 @@ s32 send_config_pkt(u8 mode, struct wid *wids, u32 count, u32 drv) PRINT_INFO(CORECONFIG_DBG, "Sending CFG packet [%d][%d]\n", !counter, (counter == count - 1)); if (!wilc_wlan_cfg_get(!counter, - wids[counter].u16WIDid, + wids[counter].id, (counter == count - 1), drv)) { ret = -1; @@ -615,16 +615,16 @@ 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].u16WIDid, + wids[counter].id, wids[counter].ps8WidVal, wids[counter].s32ValueSize); } } else if (mode == SET_CFG) { for (counter = 0; counter < count; counter++) { - PRINT_D(CORECONFIG_DBG, "Sending config SET PACKET WID:%x\n", wids[counter].u16WIDid); + PRINT_D(CORECONFIG_DBG, "Sending config SET PACKET WID:%x\n", wids[counter].id); if (!wilc_wlan_cfg_set(!counter, - wids[counter].u16WIDid, + wids[counter].id, wids[counter].ps8WidVal, wids[counter].s32ValueSize, (counter == count - 1), |