Firewire: uninit buffers returned

Probably a copy-paste error caused the wrong variables being returned
in fw_xfer_alloc_buf() for the received transfers.

CID 10746.
This commit is contained in:
Philippe Saint-Pierre 2012-01-03 20:24:17 -05:00
parent f08709bbea
commit 9d991e3c99

View File

@ -1195,8 +1195,8 @@ fw_xfer_alloc_buf(int send_len, int recv_len)
fw_xfer_free(xfer);
return(NULL);
}
xfer->recv.payload = (uint32_t *)send_virt;
xfer->recv.bus_addr = (bus_addr_t)send_phy;
xfer->recv.payload = (uint32_t *)recv_virt;
xfer->recv.bus_addr = (bus_addr_t)recv_phy;
}
return(xfer);
}