aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-sbp2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/fw-sbp2.c')
-rw-r--r--drivers/firewire/fw-sbp2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c
index 661a5b66f661..d2fbfc6f6d8a 100644
--- a/drivers/firewire/fw-sbp2.c
+++ b/drivers/firewire/fw-sbp2.c
@@ -514,9 +514,10 @@ sbp2_send_management_orb(struct sbp2_logical_unit *lu, int node_id,
514 orb->request.status_fifo.low = lu->address_handler.offset; 514 orb->request.status_fifo.low = lu->address_handler.offset;
515 515
516 if (function == SBP2_LOGIN_REQUEST) { 516 if (function == SBP2_LOGIN_REQUEST) {
517 /* Ask for 2^2 == 4 seconds reconnect grace period */
517 orb->request.misc |= 518 orb->request.misc |=
518 MANAGEMENT_ORB_EXCLUSIVE(sbp2_param_exclusive_login) | 519 MANAGEMENT_ORB_RECONNECT(2) |
519 MANAGEMENT_ORB_RECONNECT(0); 520 MANAGEMENT_ORB_EXCLUSIVE(sbp2_param_exclusive_login);
520 } 521 }
521 522
522 fw_memcpy_to_be32(&orb->request, &orb->request, sizeof(orb->request)); 523 fw_memcpy_to_be32(&orb->request, &orb->request, sizeof(orb->request));