]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ipw2200: Fix kernel Oops if cmdlog debug is enabled
authorZhu Yi <yi.zhu@intel.com>
Mon, 21 Aug 2006 03:38:28 +0000 (11:38 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 29 Aug 2006 21:06:33 +0000 (17:06 -0400)
commitb9bec768c321e51a8da00d56230bc795464992b2
tree563e306ba574d80a8ffc2515937dde3ff0971c50
parentd5f7ac203924a51d0e678338a11be42135fa7996
[PATCH] ipw2200: Fix kernel Oops if cmdlog debug is enabled

When command error log debug is enabled, we write every host command and
parameters into a buffer. But we didn't alloc the parameter buffer for this
case. The patch adds struct cmdlog_host_cmd so that the buffer is allocated
from the stack.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2200.h