diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-11-16 09:28:55 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-21 16:20:42 -0500 |
commit | 252b86c43225d067468dd182e9ae616ad2532bc8 (patch) | |
tree | d584ef11ebd143960c1890e361a89653fb9812c9 /net/mac80211/ieee80211_i.h | |
parent | 83c76570961573e56a238d84ba18f2581ef1e6b5 (diff) |
mac80211: use skb list for fragments
We are currently linking the skbs by using skb->next
directly. This works, but the preferred way is to use
a struct sk_buff_head instead. That also prepares for
passing that to drivers directly.
While at it I noticed we calculate the duration for
fragments twice -- remove one of them.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 068cc92d16aa..f2785056d8d9 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -142,6 +142,7 @@ typedef unsigned __bitwise__ ieee80211_tx_result; | |||
142 | 142 | ||
143 | struct ieee80211_tx_data { | 143 | struct ieee80211_tx_data { |
144 | struct sk_buff *skb; | 144 | struct sk_buff *skb; |
145 | struct sk_buff_head skbs; | ||
145 | struct ieee80211_local *local; | 146 | struct ieee80211_local *local; |
146 | struct ieee80211_sub_if_data *sdata; | 147 | struct ieee80211_sub_if_data *sdata; |
147 | struct sta_info *sta; | 148 | struct sta_info *sta; |