staging: wilc1000: rename variable gs8Rssi
authorLeo Kim <leo.kim@atmel.com>
Thu, 15 Oct 2015 04:25:01 +0000 (13:25 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 04:48:40 +0000 (21:48 -0700)
This patch renames variable gs8Rssi to rssi
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index 4b87fba4ac81ab16bd596516681c941292bf5df9..1465f2685d509a831dcd65de2294dd7d621547dd 100644 (file)
@@ -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;
 }