|
@@ -812,7 +812,7 @@ static void enc28j60_read_tsv(struct enc28j60_net *priv, u8 tsv[TSV_SIZE])
|
|
|
if (netif_msg_hw(priv))
|
|
|
printk(KERN_DEBUG DRV_NAME ": reading TSV at addr:0x%04x\n",
|
|
|
endptr + 1);
|
|
|
- enc28j60_mem_read(priv, endptr + 1, sizeof(tsv), tsv);
|
|
|
+ enc28j60_mem_read(priv, endptr + 1, TSV_SIZE, tsv);
|
|
|
}
|
|
|
|
|
|
static void enc28j60_dump_tsv(struct enc28j60_net *priv, const char *msg,
|