diff options
Diffstat (limited to 'drivers/scsi/isci/port.c')
-rw-r--r-- | drivers/scsi/isci/port.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/scsi/isci/port.c b/drivers/scsi/isci/port.c index 5b38f2f963e0..0a1577327d61 100644 --- a/drivers/scsi/isci/port.c +++ b/drivers/scsi/isci/port.c | |||
@@ -236,18 +236,12 @@ void isci_port_link_up( | |||
236 | 236 | ||
237 | BUG_ON(call_status != SCI_SUCCESS); | 237 | BUG_ON(call_status != SCI_SUCCESS); |
238 | 238 | ||
239 | memcpy(isci_phy->frame_rcvd.aif, | 239 | isci_phy->frame_rcvd.iaf = sas_phy_properties.rcvd_iaf; |
240 | &(sas_phy_properties.received_iaf), | 240 | isci_phy->sas_phy.frame_rcvd_size = sizeof(struct sas_identify_frame); |
241 | sizeof(struct sci_sas_identify_address_frame)); | ||
242 | |||
243 | isci_phy->sas_phy.frame_rcvd_size | ||
244 | = sizeof(struct sci_sas_identify_address_frame); | ||
245 | 241 | ||
246 | /* Copy the attached SAS address from the IAF */ | 242 | /* Copy the attached SAS address from the IAF */ |
247 | memcpy(isci_phy->sas_phy.attached_sas_addr, | 243 | memcpy(isci_phy->sas_phy.attached_sas_addr, |
248 | ((struct sas_identify_frame *) | 244 | isci_phy->frame_rcvd.iaf.sas_addr, SAS_ADDR_SIZE); |
249 | (&isci_phy->frame_rcvd.aif))->sas_addr, | ||
250 | SAS_ADDR_SIZE); | ||
251 | 245 | ||
252 | } else { | 246 | } else { |
253 | dev_err(&isci_host->pdev->dev, "%s: unkown target\n", __func__); | 247 | dev_err(&isci_host->pdev->dev, "%s: unkown target\n", __func__); |