]> err.no Git - linux-2.6/commit
rt2x00: Don't use pskb_expand_head()
authorIvo van Doorn <ivdoorn@gmail.com>
Mon, 5 May 2008 15:23:31 +0000 (17:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 May 2008 01:22:17 +0000 (21:22 -0400)
commit78720897459a0ed3843c80e9bd9ef1b2f7ae5c8f
tree7ae55076399b4f58ff12e4bb8ca32a4e1738b83d
parent6243065d308ab566aa318a8adef853bc0418896d
rt2x00: Don't use pskb_expand_head()

rt2x00pci allocates DMA for descriptor and data,
rt61pci doesn't use this for the beacon, but it can
use the descriptor part as temporary buffer instead
of using pskb_expand_head().
Using this temporary buffer is obviously much better
then reallocating the skb buffer...

At the same time we can set the data length for the
beacon queue at 0, to make sure no DMA is allocated for
data (but just for the descriptor).

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