[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160219213835.c16a60105e0342ff64b7b8aa@nifty.com>
Date: Fri, 19 Feb 2016 21:38:35 +0900
From: Ken Kawasaki <ken_kawasaki@...ty.com>
To: netdev@...r.kernel.org
Subject: [PATCH]fmvj18x_cs: The MAC address of FMV-J182 is stored at buf[5].
The MAC address of FMV-J182 is stored at buf[5].
Signed-off-by: Ken Kawasaki <ken_kawasaki@...ty.com>
---
--- linux-4.4.1/drivers/net/ethernet/fujitsu/fmvj18x_cs.c.orig 2016-02-19 20:48:40.143852346 +0900
+++ linux-4.4.1/drivers/net/ethernet/fujitsu/fmvj18x_cs.c 2016-02-19 20:54:52.345568822 +0900
@@ -469,8 +469,8 @@ static int fmvj18x_config(struct pcmcia_
goto failed;
}
/* Read MACID from CIS */
- for (i = 5; i < 11; i++)
- dev->dev_addr[i] = buf[i];
+ for (i = 0; i < 6; i++)
+ dev->dev_addr[i] = buf[i+5];
kfree(buf);
} else {
if (pcmcia_get_mac_from_cis(link, dev))
Powered by blists - more mailing lists