Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -614,10 +614,10 @@ s32 send_config_pkt(u8 mode, struct wid *wids, u32 count, u32 drv)
		}
		}
		counter = 0;
		counter = 0;
		for (counter = 0; counter < count; counter++) {
		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].id,
					wids[counter].ps8WidVal,
					wids[counter].ps8WidVal,
					wids[counter].s32ValueSize);
					wids[counter].size);


		}
		}
	} else if (mode == SET_CFG) {
	} 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,
			if (!wilc_wlan_cfg_set(!counter,
					       wids[counter].id,
					       wids[counter].id,
					       wids[counter].ps8WidVal,
					       wids[counter].ps8WidVal,
					       wids[counter].s32ValueSize,
					       wids[counter].size,
					       (counter == count - 1),
					       (counter == count - 1),
					       drv)) {
					       drv)) {
				ret = -1;
				ret = -1;
+1 −1
Original line number Original line Diff line number Diff line
@@ -73,7 +73,7 @@ typedef enum {
struct wid {
struct wid {
	u16 id;
	u16 id;
	enum WID_TYPE type;
	enum WID_TYPE type;
	s32 s32ValueSize;
	s32 size;
	s8      *ps8WidVal;
	s8      *ps8WidVal;
};
};