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

staging: wilc1000: rename Ack_session_info struct variable

This patch rename Ack_session_info struct variable to ack_session_info
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 eb59da3b
...@@ -193,8 +193,8 @@ static int wilc_wlan_txq_add_to_head(struct txq_entry_t *tqe) ...@@ -193,8 +193,8 @@ static int wilc_wlan_txq_add_to_head(struct txq_entry_t *tqe)
u32 total_acks = 0, dropped_acks = 0; u32 total_acks = 0, dropped_acks = 0;
#ifdef TCP_ACK_FILTER #ifdef TCP_ACK_FILTER
struct Ack_session_info; struct ack_session_info;
struct Ack_session_info { struct ack_session_info {
u32 Ack_seq_num; u32 Ack_seq_num;
u32 Bigger_Ack_num; u32 Bigger_Ack_num;
u16 src_port; u16 src_port;
...@@ -208,14 +208,14 @@ typedef struct { ...@@ -208,14 +208,14 @@ typedef struct {
struct txq_entry_t *txqe; struct txq_entry_t *txqe;
} Pending_Acks_info_t; } Pending_Acks_info_t;
struct Ack_session_info *Free_head; struct ack_session_info *Free_head;
struct Ack_session_info *Alloc_head; struct ack_session_info *Alloc_head;
#define NOT_TCP_ACK (-1) #define NOT_TCP_ACK (-1)
#define MAX_TCP_SESSION 25 #define MAX_TCP_SESSION 25
#define MAX_PENDING_ACKS 256 #define MAX_PENDING_ACKS 256
struct Ack_session_info Acks_keep_track_info[2 * MAX_TCP_SESSION]; struct ack_session_info Acks_keep_track_info[2 * MAX_TCP_SESSION];
Pending_Acks_info_t Pending_Acks_info[MAX_PENDING_ACKS]; Pending_Acks_info_t Pending_Acks_info[MAX_PENDING_ACKS];
u32 PendingAcks_arrBase; u32 PendingAcks_arrBase;
......
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