p54: fix memory management
authorChristian Lamparter <chunkeey@web.de>
Wed, 15 Oct 2008 02:07:16 +0000 (04:07 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 31 Oct 2008 23:00:33 +0000 (19:00 -0400)
commitb92f30d65aeb0502e2ed8beb80c8465578b40002
tree7d2669d864df5368377dcad11c1bbf4be266eff5
parent9de5776ff33a006b864341a6ec8d31f1a3c628cf
p54: fix memory management

We have to be careful if multiple "control frames" are passed in a very short intervals to
the device's firmware. As p54_assign_address always put them into same memory location.
To guarantee that this won't happen anymore, we have to treat control frames like normal
data frames in the devices own memory management.

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
drivers/net/wireless/p54/p54pci.c
drivers/net/wireless/p54/p54usb.c