diff options
| -rw-r--r-- | drivers/firewire/fw-sbp2.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c index d2fbfc6f6d8a..d406c34fd378 100644 --- a/drivers/firewire/fw-sbp2.c +++ b/drivers/firewire/fw-sbp2.c | |||
| @@ -661,9 +661,9 @@ static void sbp2_login(struct work_struct *work) | |||
| 661 | struct sbp2_login_response response; | 661 | struct sbp2_login_response response; |
| 662 | int generation, node_id, local_node_id; | 662 | int generation, node_id, local_node_id; |
| 663 | 663 | ||
| 664 | generation = device->card->generation; | 664 | generation = device->generation; |
| 665 | node_id = device->node->node_id; | 665 | node_id = device->node_id; |
| 666 | local_node_id = device->card->local_node->node_id; | 666 | local_node_id = device->card->node_id; |
| 667 | 667 | ||
| 668 | if (sbp2_send_management_orb(lu, node_id, generation, | 668 | if (sbp2_send_management_orb(lu, node_id, generation, |
| 669 | SBP2_LOGIN_REQUEST, lu->lun, &response) < 0) { | 669 | SBP2_LOGIN_REQUEST, lu->lun, &response) < 0) { |
| @@ -911,9 +911,9 @@ static void sbp2_reconnect(struct work_struct *work) | |||
| 911 | struct fw_device *device = fw_device(unit->device.parent); | 911 | struct fw_device *device = fw_device(unit->device.parent); |
| 912 | int generation, node_id, local_node_id; | 912 | int generation, node_id, local_node_id; |
| 913 | 913 | ||
| 914 | generation = device->card->generation; | 914 | generation = device->generation; |
| 915 | node_id = device->node->node_id; | 915 | node_id = device->node_id; |
| 916 | local_node_id = device->card->local_node->node_id; | 916 | local_node_id = device->card->node_id; |
| 917 | 917 | ||
| 918 | if (sbp2_send_management_orb(lu, node_id, generation, | 918 | if (sbp2_send_management_orb(lu, node_id, generation, |
| 919 | SBP2_RECONNECT_REQUEST, | 919 | SBP2_RECONNECT_REQUEST, |
