diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb/dvb-usb/az6007.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/az6007.c b/drivers/media/dvb/dvb-usb/az6007.c index 8ffcad000ad3..86861e6f86d2 100644 --- a/drivers/media/dvb/dvb-usb/az6007.c +++ b/drivers/media/dvb/dvb-usb/az6007.c | |||
@@ -590,7 +590,7 @@ static int az6007_read_mac_addr(struct dvb_usb_device *d, u8 mac[6]) | |||
590 | int ret; | 590 | int ret; |
591 | 591 | ||
592 | ret = az6007_read(d, AZ6007_READ_DATA, 6, 0, st->data, 6); | 592 | ret = az6007_read(d, AZ6007_READ_DATA, 6, 0, st->data, 6); |
593 | memcpy(mac, st->data, sizeof(mac)); | 593 | memcpy(mac, st->data, 6); |
594 | 594 | ||
595 | if (ret > 0) | 595 | if (ret > 0) |
596 | deb_info("%s: mac is %pM\n", __func__, mac); | 596 | deb_info("%s: mac is %pM\n", __func__, mac); |