Bluetooth: ath3k: don't use stack memory for DMA
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 8 Jul 2013 08:27:23 +0000 (10:27 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 25 Jul 2013 18:52:32 +0000 (19:52 +0100)
commit517828a87994f41af6ae5a0f96f0f069f05baa81
tree3cbc07678c393b519785623871bb1626df9256cf
parent84eb2ae1807dd1467bf6f500fc69ae61f1907b75
Bluetooth: ath3k: don't use stack memory for DMA

Memory allocated by vmalloc (including stack) can not be used for DMA,
i.e. data pointer on usb_control_msg() should not point to stack memory.

Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=977558

Reported-and-tested-by: Andy Lawrence <dr.diesel@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
drivers/bluetooth/ath3k.c