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

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

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



This patch renames u16WIDid of struct wid to id.

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 416d8321
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -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,
			PRINT_INFO(CORECONFIG_DBG, "Sending CFG packet [%d][%d]\n", !counter,
				   (counter == count - 1));
				   (counter == count - 1));
			if (!wilc_wlan_cfg_get(!counter,
			if (!wilc_wlan_cfg_get(!counter,
					       wids[counter].u16WIDid,
					       wids[counter].id,
					       (counter == count - 1),
					       (counter == count - 1),
					       drv)) {
					       drv)) {
				ret = -1;
				ret = -1;
@@ -615,16 +615,16 @@ 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].s32ValueSize = wilc_wlan_cfg_get_val(
					wids[counter].u16WIDid,
					wids[counter].id,
					wids[counter].ps8WidVal,
					wids[counter].ps8WidVal,
					wids[counter].s32ValueSize);
					wids[counter].s32ValueSize);


		}
		}
	} else if (mode == SET_CFG) {
	} else if (mode == SET_CFG) {
		for (counter = 0; counter < count; counter++) {
		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,
			if (!wilc_wlan_cfg_set(!counter,
					       wids[counter].u16WIDid,
					       wids[counter].id,
					       wids[counter].ps8WidVal,
					       wids[counter].ps8WidVal,
					       wids[counter].s32ValueSize,
					       wids[counter].s32ValueSize,
					       (counter == count - 1),
					       (counter == count - 1),
+1 −1
Original line number Original line Diff line number Diff line
@@ -71,7 +71,7 @@ typedef enum {
} tenuConnectSts;
} tenuConnectSts;


struct wid {
struct wid {
	u16 u16WIDid;
	u16 id;
	enum WID_TYPE type;
	enum WID_TYPE type;
	s32 s32ValueSize;
	s32 s32ValueSize;
	s8      *ps8WidVal;
	s8      *ps8WidVal;
+93 −93

File changed.

Preview size limit exceeded, changes collapsed.