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

staging: wilc1000: rename Update_TCP_track_session function

This patch rename the Update_TCP_track_session function to update_tcp_session
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 67620788
...@@ -239,7 +239,7 @@ static inline int add_tcp_session(u32 src_prt, u32 dst_prt, u32 seq) ...@@ -239,7 +239,7 @@ static inline int add_tcp_session(u32 src_prt, u32 dst_prt, u32 seq)
return 0; return 0;
} }
static inline int Update_TCP_track_session(u32 index, u32 Ack) static inline int update_tcp_session(u32 index, u32 Ack)
{ {
if (Ack > ack_session_info[index].bigger_ack_num) if (Ack > ack_session_info[index].bigger_ack_num)
ack_session_info[index].bigger_ack_num = Ack; ack_session_info[index].bigger_ack_num = Ack;
...@@ -314,7 +314,7 @@ static inline int tcp_process(struct net_device *dev, struct txq_entry_t *tqe) ...@@ -314,7 +314,7 @@ static inline int tcp_process(struct net_device *dev, struct txq_entry_t *tqe)
for (i = 0; i < tcp_session; i++) { for (i = 0; i < tcp_session; i++) {
if (ack_session_info[i].seq_num == seq_no) { if (ack_session_info[i].seq_num == seq_no) {
Update_TCP_track_session(i, Ack_no); update_tcp_session(i, Ack_no);
break; break;
} }
} }
......
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