Commit 2fd3e443 authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman

staging: wilc1000: rename the member variable, s32ValueSize of wid

This patch renames s32ValueSize of struct wid to size.
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent daaf16ba
......@@ -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;
......
......@@ -73,7 +73,7 @@ typedef enum {
struct wid {
u16 id;
enum WID_TYPE type;
s32 s32ValueSize;
s32 size;
s8 *ps8WidVal;
};
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment