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

staging: wilc1000: rename add_TCP_Pending_Ack function

This patch rename the add_TCP_Pending_Ack function to add_tcp_pending_ack
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 bbf3dbd7
...@@ -246,7 +246,8 @@ static inline int update_tcp_session(u32 index, u32 Ack) ...@@ -246,7 +246,8 @@ 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, struct txq_entry_t *txqe) static inline int add_tcp_pending_ack(u32 Ack, u32 Session_index,
struct txq_entry_t *txqe)
{ {
total_acks++; total_acks++;
if (pending_acks < MAX_PENDING_ACKS) { if (pending_acks < MAX_PENDING_ACKS) {
...@@ -321,7 +322,7 @@ static inline int tcp_process(struct net_device *dev, struct txq_entry_t *tqe) ...@@ -321,7 +322,7 @@ static inline int tcp_process(struct net_device *dev, struct txq_entry_t *tqe)
if (i == tcp_session) if (i == tcp_session)
add_tcp_session(0, 0, seq_no); add_tcp_session(0, 0, seq_no);
add_TCP_Pending_Ack(Ack_no, i, tqe); add_tcp_pending_ack(Ack_no, i, tqe);
} }
} 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