diff options
Diffstat (limited to 'drivers/usb/serial/io_edgeport.c')
-rw-r--r-- | drivers/usb/serial/io_edgeport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c index 76e6fb3aab7a..db0e3fe4acf5 100644 --- a/drivers/usb/serial/io_edgeport.c +++ b/drivers/usb/serial/io_edgeport.c | |||
@@ -2894,8 +2894,8 @@ static void load_application_firmware(struct edgeport_serial *edge_serial) | |||
2894 | 2894 | ||
2895 | dbg("%s %d.%d.%d", fw_info, rec->data[0], rec->data[1], build); | 2895 | dbg("%s %d.%d.%d", fw_info, rec->data[0], rec->data[1], build); |
2896 | 2896 | ||
2897 | edge_serial->product_info.FirmwareMajorVersion = fw->data[0]; | 2897 | edge_serial->product_info.FirmwareMajorVersion = rec->data[0]; |
2898 | edge_serial->product_info.FirmwareMinorVersion = fw->data[1]; | 2898 | edge_serial->product_info.FirmwareMinorVersion = rec->data[1]; |
2899 | edge_serial->product_info.FirmwareBuildNumber = cpu_to_le16(build); | 2899 | edge_serial->product_info.FirmwareBuildNumber = cpu_to_le16(build); |
2900 | 2900 | ||
2901 | for (rec = ihex_next_binrec(rec); rec; | 2901 | for (rec = ihex_next_binrec(rec); rec; |