From: Leo Kim Date: Thu, 15 Oct 2015 04:25:01 +0000 (+0900) Subject: staging: wilc1000: rename variable gs8Rssi X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=144b7b2336443109f921fb00c1fe1b70da885065;p=openwrt%2Fstaging%2Fblogic.git staging: wilc1000: rename variable gs8Rssi This patch renames variable gs8Rssi to rssi to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Tony Cho Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 4b87fba4ac81..1465f2685d50 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -247,7 +247,7 @@ static u8 rcv_assoc_resp[MAX_ASSOC_RESP_FRAME_SIZE]; static bool scan_while_connected; -static s8 gs8Rssi; +static s8 rssi; static s8 gs8lnkspd; static u8 gu8Chnl; static u8 gs8SetIP[2][4]; @@ -2135,7 +2135,7 @@ static void Handle_GetRssi(struct host_if_drv *hif_drv) strWID.id = (u16)WID_RSSI; strWID.type = WID_CHAR; - strWID.val = &gs8Rssi; + strWID.val = &rssi; strWID.size = sizeof(char); 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) return -EFAULT; } - - *ps8Rssi = gs8Rssi; - + *ps8Rssi = rssi; return s32Error; }