rt2x00: Move crypto TX descriptor handling to rt2x00crypto.c
authorIvo van Doorn <ivdoorn@gmail.com>
Wed, 3 Dec 2008 16:29:48 +0000 (17:29 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 Dec 2008 14:35:57 +0000 (09:35 -0500)
commit9c3444d33e65ade06af82d19522686c1873b953a
tree5d4ccac8c604fafe3dd66be98e132f7282ccba7f
parent1c02667db5eae801b8fc279fdfa618164c0efb6e
rt2x00: Move crypto TX descriptor handling to rt2x00crypto.c

Move all code which determines the right TX descriptor
fields specific to crypto support into rt2x00crypto.c.
This makes the code in rt2x00queue more simpler and
better concentrates all crypto code into a single location.

With this we can also remove some ifdefs in rt2x00queue.c
since the code inside the ifdef is either very small, or
only calling empty functions (see empty function definitions
in rt2x00lib.h).

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