Commit 144b7b23 authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman

staging: wilc1000: rename variable gs8Rssi

This patch renames variable gs8Rssi to rssi
to avoid CamelCase naming convention.
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 f64321c6
...@@ -247,7 +247,7 @@ static u8 rcv_assoc_resp[MAX_ASSOC_RESP_FRAME_SIZE]; ...@@ -247,7 +247,7 @@ static u8 rcv_assoc_resp[MAX_ASSOC_RESP_FRAME_SIZE];
static bool scan_while_connected; static bool scan_while_connected;
static s8 gs8Rssi; static s8 rssi;
static s8 gs8lnkspd; static s8 gs8lnkspd;
static u8 gu8Chnl; static u8 gu8Chnl;
static u8 gs8SetIP[2][4]; static u8 gs8SetIP[2][4];
...@@ -2135,7 +2135,7 @@ static void Handle_GetRssi(struct host_if_drv *hif_drv) ...@@ -2135,7 +2135,7 @@ static void Handle_GetRssi(struct host_if_drv *hif_drv)
strWID.id = (u16)WID_RSSI; strWID.id = (u16)WID_RSSI;
strWID.type = WID_CHAR; strWID.type = WID_CHAR;
strWID.val = &gs8Rssi; strWID.val = &rssi;
strWID.size = sizeof(char); strWID.size = sizeof(char);
PRINT_D(HOSTINF_DBG, "Getting RSSI value\n"); PRINT_D(HOSTINF_DBG, "Getting RSSI value\n");
...@@ -3909,9 +3909,7 @@ s32 host_int_get_rssi(struct host_if_drv *hif_drv, s8 *ps8Rssi) ...@@ -3909,9 +3909,7 @@ s32 host_int_get_rssi(struct host_if_drv *hif_drv, s8 *ps8Rssi)
return -EFAULT; return -EFAULT;
} }
*ps8Rssi = rssi;
*ps8Rssi = gs8Rssi;
return s32Error; return s32Error;
} }
......
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