staging: wilc1000: rename Session_index member variable
authorLeo Kim <leo.kim@atmel.com>
Fri, 6 Nov 2015 02:12:49 +0000 (11:12 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch rename the Ack Session_index  variable to session_index
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 58043dc52413c8ea8a2e9e2c298b21a53c66a81c..ce9f45ca7985123520de94dab0da32a1b2207b5a 100644 (file)
@@ -246,14 +246,14 @@ static inline int update_tcp_session(u32 index, u32 ack)
        return 0;
 }
 
-static inline int add_tcp_pending_ack(u32 ack, u32 Session_index,
+static inline int add_tcp_pending_ack(u32 ack, u32 session_index,
                                       struct txq_entry_t *txqe)
 {
        total_acks++;
        if (pending_acks < MAX_PENDING_ACKS) {
                pending_acks_info[pending_base + pending_acks].ack_num = ack;
                pending_acks_info[pending_base + pending_acks].txqe = txqe;
-               pending_acks_info[pending_base + pending_acks].session_index = Session_index;
+               pending_acks_info[pending_base + pending_acks].session_index = session_index;
                txqe->tcp_PendingAck_index = pending_base + pending_acks;
                pending_acks++;
        } else {