]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: wilc1000: rename Statisitcs_totalAcks variable
authorLeo Kim <leo.kim@atmel.com>
Fri, 6 Nov 2015 02:12:32 +0000 (11:12 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch rename Statisitcs_totalAcks variable to total_acks
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c

index 8ac0b1eb71aaa8605f717467e49a611d2bd4ce46..8d6215b3b8f58a686d82c247b79e16dd7aae2afc 100644 (file)
@@ -190,7 +190,7 @@ static int wilc_wlan_txq_add_to_head(struct txq_entry_t *tqe)
        return 0;
 }
 
-u32 Statisitcs_totalAcks = 0, Statisitcs_DroppedAcks = 0;
+u32 total_acks = 0, Statisitcs_DroppedAcks = 0;
 
 #ifdef TCP_ACK_FILTER
 struct Ack_session_info;
@@ -248,7 +248,7 @@ static inline int Update_TCP_track_session(u32 index, u32 Ack)
 
 static inline int add_TCP_Pending_Ack(u32 Ack, u32 Session_index, struct txq_entry_t  *txqe)
 {
-       Statisitcs_totalAcks++;
+       total_acks++;
        if (Pending_Acks < MAX_PENDING_ACKS) {
                Pending_Acks_info[PendingAcks_arrBase + Pending_Acks].ack_num = Ack;
                Pending_Acks_info[PendingAcks_arrBase + Pending_Acks].txqe = txqe;