[SCSI] isci: copy fis 0x34 response into proper buffer
authorMaciej Patelczyk <maciej.patelczyk@intel.com>
Mon, 15 Oct 2012 12:29:03 +0000 (14:29 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 13 Nov 2012 13:45:14 +0000 (13:45 +0000)
commit49bd665c5407a453736d3232ee58f2906b42e83c
treef70c68697220bfe93c05b60571a88515cc8604e5
parent77b67063bb6bce6d475e910d3b886a606d0d91f7
[SCSI] isci: copy fis 0x34 response into proper buffer

SATA MICROCODE DOWNALOAD fails on isci driver. After receiving Register
Device to Host (FIS 0x34) frame Initiator resets phy.
In the frame handler routine response (FIS 0x34) was copied into wrong
buffer and upper layer did not receive any answer which resulted in
timeout and reset.
This patch corrects this bug.

Signed-off-by: Maciej Patelczyk <maciej.patelczyk@intel.com>
Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/isci/request.c