staging: reduce stack usage in prism2fw.c
authorRandy Dunlap <rdunlap@xenotime.net>
Mon, 25 Jun 2012 04:35:29 +0000 (21:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jun 2012 17:00:53 +0000 (10:00 -0700)
commitc90e3e80b9751335cc98934ae32188fa7de6bccd
tree79b25701b374fdb49f713ce78d0e5da196c172f2
parentbcc66c0b8881f88459f9ac21038455bcafacdc6e
staging: reduce stack usage in prism2fw.c

Fix frame size (stack usage) warning by allocating and freeing
pointers to the data.

drivers/staging/wlan-ng/prism2fw.c:1115:1: warning: the frame size of 4288 bytes is larger than 2048 bytes

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2fw.c