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)
commit70458259936e723a4ac02c85bdbaf08dc69edfbe
tree0a39aff47887da2f3506430a4cb6799aa290d320
parent8bdd5b9c6bd53add260756b6673a0545fbdbba21
orinoco: reduce stack usage in firmware download path

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>
drivers/net/wireless/orinoco.c