diff options
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/fw-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-device.c b/drivers/firewire/fw-device.c index 7276a0d5520f..df789d321d1b 100644 --- a/drivers/firewire/fw-device.c +++ b/drivers/firewire/fw-device.c | |||
@@ -892,7 +892,7 @@ static int reread_bus_info_block(struct fw_device *device, int generation) | |||
892 | if (i == 0 && q == 0) | 892 | if (i == 0 && q == 0) |
893 | return REREAD_BIB_GONE; | 893 | return REREAD_BIB_GONE; |
894 | 894 | ||
895 | if (i > device->config_rom_length || q != device->config_rom[i]) | 895 | if (q != device->config_rom[i]) |
896 | return REREAD_BIB_CHANGED; | 896 | return REREAD_BIB_CHANGED; |
897 | } | 897 | } |
898 | 898 | ||