]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: use skb list for fragments
authorJohannes Berg <johannes.berg@intel.com>
Wed, 16 Nov 2011 14:28:55 +0000 (15:28 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Nov 2011 21:20:42 +0000 (16:20 -0500)
commit7cf0b3527a45c25f1ec6fc96b3c63ad037c60dc0
treed584ef11ebd143960c1890e361a89653fb9812c9
parent2670fff3bf544645c52ee94a3ad9c963546e29f3
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>
net/mac80211/ieee80211_i.h
net/mac80211/tx.c
net/mac80211/util.c
net/mac80211/wep.c
net/mac80211/wpa.c