diff mbox

[24/73] staging: wilc1000: rename add_TCP_track_session function

Message ID 1446776014-28094-24-git-send-email-glen.lee@atmel.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Glen Lee Nov. 6, 2015, 2:12 a.m. UTC
From: Leo Kim <leo.kim@atmel.com>

This patch rename the add_TCP_track_session function to add_tcp_session
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
---
 drivers/staging/wilc1000/wilc_wlan.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c
index df0f5ce..75b35b8 100644
--- a/drivers/staging/wilc1000/wilc_wlan.c
+++ b/drivers/staging/wilc1000/wilc_wlan.c
@@ -227,7 +227,7 @@  static inline int init_tcp_tracking(void)
 	return 0;
 }
 
-static inline int add_TCP_track_session(u32 src_prt, u32 dst_prt, u32 seq)
+static inline int add_tcp_session(u32 src_prt, u32 dst_prt, u32 seq)
 {
 	ack_session_info[tcp_session].seq_num = seq;
 	ack_session_info[tcp_session].bigger_ack_num = 0;
@@ -319,7 +319,7 @@  static inline int tcp_process(struct net_device *dev, struct txq_entry_t *tqe)
 					}
 				}
 				if (i == tcp_session)
-					add_TCP_track_session(0, 0, seq_no);
+					add_tcp_session(0, 0, seq_no);
 
 				add_TCP_Pending_Ack(Ack_no, i, tqe);
 			}