]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/firewire/fw-card.c
USB: usb-storage: use kthread_stop() for the control thread
[linux-2.6-omap-h63xx.git] / drivers / firewire / fw-card.c
index 9eb1edacd825d3d4c4e5d345bfb9c869bef98aaa..0aeab3218bb6d6b8c503b2f2386133e611f4a5f7 100644 (file)
@@ -336,8 +336,11 @@ fw_card_bm_work(struct work_struct *work)
        }
 
  pick_me:
-       /* Now figure out what gap count to set. */
-       if (card->topology_type == FW_TOPOLOGY_A &&
+       /*
+        * Pick a gap count from 1394a table E-1.  The table doesn't cover
+        * the typically much larger 1394b beta repeater delays though.
+        */
+       if (!card->beta_repeaters_present &&
            card->root_node->max_hops < ARRAY_SIZE(gap_count_table))
                gap_count = gap_count_table[card->root_node->max_hops];
        else