diff options
Diffstat (limited to 'drivers/firewire/fw-topology.c')
-rw-r--r-- | drivers/firewire/fw-topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-topology.c b/drivers/firewire/fw-topology.c index e7520e4bd6bc..8dd6703b55cd 100644 --- a/drivers/firewire/fw-topology.c +++ b/drivers/firewire/fw-topology.c | |||
@@ -523,7 +523,7 @@ fw_core_handle_bus_reset(struct fw_card *card, | |||
523 | * previously processed one, we cannot reliably compare the | 523 | * previously processed one, we cannot reliably compare the |
524 | * old and new topologies. | 524 | * old and new topologies. |
525 | */ | 525 | */ |
526 | if ((generation & 0xff) != ((card->generation + 1) & 0xff) && | 526 | if (!is_next_generation(generation, card->generation) && |
527 | card->local_node != NULL) { | 527 | card->local_node != NULL) { |
528 | fw_notify("skipped bus generations, destroying all nodes\n"); | 528 | fw_notify("skipped bus generations, destroying all nodes\n"); |
529 | fw_destroy_nodes(card); | 529 | fw_destroy_nodes(card); |