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

staging: wilc1000: remove typedef of struct Pending_Acks_info_t

This patch remove typedef of struct Pending_Acks_info_t.
And, rename the Pending_Acks_info_t to pending_acks_info.
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 9d54d3d5
...@@ -202,11 +202,11 @@ struct ack_session_info { ...@@ -202,11 +202,11 @@ struct ack_session_info {
u16 status; u16 status;
}; };
typedef struct { struct pending_acks_info {
u32 ack_num; u32 ack_num;
u32 Session_index; u32 Session_index;
struct txq_entry_t *txqe; struct txq_entry_t *txqe;
} 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;
...@@ -216,7 +216,7 @@ struct ack_session_info *Alloc_head; ...@@ -216,7 +216,7 @@ struct ack_session_info *Alloc_head;
#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]; struct pending_acks_info Pending_Acks_info[MAX_PENDING_ACKS];
u32 PendingAcks_arrBase; u32 PendingAcks_arrBase;
u32 Opened_TCP_session; u32 Opened_TCP_session;
......
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