diff options
| -rw-r--r-- | drivers/firewire/core-device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/firewire/core-device.c b/drivers/firewire/core-device.c index 7a05fd24d68b..3873d535b28d 100644 --- a/drivers/firewire/core-device.c +++ b/drivers/firewire/core-device.c | |||
| @@ -32,6 +32,7 @@ | |||
| 32 | #include <linux/mod_devicetable.h> | 32 | #include <linux/mod_devicetable.h> |
| 33 | #include <linux/module.h> | 33 | #include <linux/module.h> |
| 34 | #include <linux/mutex.h> | 34 | #include <linux/mutex.h> |
| 35 | #include <linux/random.h> | ||
| 35 | #include <linux/rwsem.h> | 36 | #include <linux/rwsem.h> |
| 36 | #include <linux/slab.h> | 37 | #include <linux/slab.h> |
| 37 | #include <linux/spinlock.h> | 38 | #include <linux/spinlock.h> |
| @@ -1066,6 +1067,8 @@ static void fw_device_init(struct work_struct *work) | |||
| 1066 | device->config_rom_retries = 0; | 1067 | device->config_rom_retries = 0; |
| 1067 | 1068 | ||
| 1068 | set_broadcast_channel(device, device->generation); | 1069 | set_broadcast_channel(device, device->generation); |
| 1070 | |||
| 1071 | add_device_randomness(&device->config_rom[3], 8); | ||
| 1069 | } | 1072 | } |
| 1070 | 1073 | ||
| 1071 | /* | 1074 | /* |
