Commit ea03f57b authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman

staging: wilc1000: rename Session_index member variable

This patch rename the Ack Session_index  variable to session_index
to avoid CamelCase naming convention.
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarGlen Lee <glen.lee@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b801a96c
...@@ -246,14 +246,14 @@ static inline int update_tcp_session(u32 index, u32 ack) ...@@ -246,14 +246,14 @@ static inline int update_tcp_session(u32 index, u32 ack)
return 0; 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) struct txq_entry_t *txqe)
{ {
total_acks++; total_acks++;
if (pending_acks < MAX_PENDING_ACKS) { if (pending_acks < MAX_PENDING_ACKS) {
pending_acks_info[pending_base + pending_acks].ack_num = ack; 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].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; txqe->tcp_PendingAck_index = pending_base + pending_acks;
pending_acks++; pending_acks++;
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment