]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: Move iv_len into tx descriptor data
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 26 Apr 2009 14:08:30 +0000 (16:08 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 May 2009 19:14:49 +0000 (15:14 -0400)
commitef3b41a702b59d714decb44403aa36a4ea585d63
treeab2da2b66f308e94159742b52a126787a8e2d1a5
parent48a1c65825ac83537082afc29fe5e1da67ce1289
rt2x00: Move iv_len into tx descriptor data

By placing the iv_len into the tx descriptor data and
by passing this data to the crypto IV handlers we can
save multiple calls to ieee80211_get_hdrlen_from_skb()
and some if-statements when copying/removing the IV data
from the outgoing frame.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00crypto.c
drivers/net/wireless/rt2x00/rt2x00lib.h
drivers/net/wireless/rt2x00/rt2x00queue.c
drivers/net/wireless/rt2x00/rt2x00queue.h