staging: wilc1000: rename Statisitcs_DroppedAcks variable
authorLeo Kim <leo.kim@atmel.com>
Fri, 6 Nov 2015 02:12:33 +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_DroppedAcks variable to dropped_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 8d6215b3b8f58a686d82c247b79e16dd7aae2afc..9b1ca170c8dad965500a25e473d7e16df4ba4897 100644 (file)
@@ -190,7 +190,7 @@ static int wilc_wlan_txq_add_to_head(struct txq_entry_t *tqe)
        return 0;
 }
 
-u32 total_acks = 0, Statisitcs_DroppedAcks = 0;
+u32 total_acks = 0, dropped_acks = 0;
 
 #ifdef TCP_ACK_FILTER
 struct Ack_session_info;
@@ -354,7 +354,7 @@ static int wilc_wlan_txq_filter_dup_tcp_ack(struct net_device *dev)
                        tqe = Pending_Acks_info[i].txqe;
                        if (tqe) {
                                wilc_wlan_txq_remove(tqe);
-                               Statisitcs_DroppedAcks++;
+                               dropped_acks++;
                                tqe->status = 1;
                                if (tqe->tx_complete_func)
                                        tqe->tx_complete_func(tqe->priv, tqe->status);