]> bbs.cooldavid.org Git - net-next-2.6.git/commit
p54: refactor p54_alloc_skb
authorChristian Lamparter <chunkeey@web.de>
Fri, 9 Jan 2009 20:05:31 +0000 (21:05 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:00:18 +0000 (16:00 -0500)
commit63f2dc9f2fd63c8b66f49c53cd26236f3f0785fd
treed5735a0bcc21ea3c9a037c8cfc85d4ab86ad10be
parent6dd1bf3118b62a3ce241dc2b7e05e3d4a28c9eb1
p54: refactor p54_alloc_skb

Old firmwares had no problems processing frames which filled eighth of the memory window.
However we have to be a bit more careful with fat frames when we talk to new firmwares.
Apart from that, I confess the old logic was a bit weird and not very sophisticated.

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54.h
drivers/net/wireless/p54/p54common.c