orinoco_usb: Fix buffer on stack
authorMaksim Salau <maksim.salau@gmail.com>
Sat, 22 Apr 2017 17:03:06 +0000 (20:03 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 26 Apr 2017 09:01:10 +0000 (12:01 +0300)
commit2f6ae79cb04bb7f9b4be3f1c32b6fda35bf976bc
tree2f661692be55ae4659fc7c7e5b79371d43e79d99
parentbea35f90dbb13c08389993847019b44047862952
orinoco_usb: Fix buffer on stack

Allocate buffer on HEAP instead of STACK for a local variable
that is to be sent using usb_control_msg().

Signed-off-by: Maksim Salau <maksim.salau@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intersil/orinoco/orinoco_usb.c