orinoco: reduce stack usage in firmware download path
authorAndrey Borzenkov <arvidjaar@newmail.ru>
Fri, 10 Oct 2008 17:26:30 +0000 (21:26 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Oct 2008 22:09:32 +0000 (18:09 -0400)
orinoco_dl_firmware and symbol_dl_mage allocate large local
variables (1K); at least orinoco fails with panic or hung
kernel if 4K stacks is enabled.

Allocate large buffers dynamically at run time.

Tested-By: Andrey Borzenkov <arvidjaar@mail.ru> for Agere case
Signed-off-by: Andrey Borzenkov < arvidjaar@mail.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found