summaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/sdla_ppp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wan/sdla_ppp.c')
-rw-r--r--drivers/net/wan/sdla_ppp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/sdla_ppp.c b/drivers/net/wan/sdla_ppp.c
index f8c8fcae2..8c7d5c694 100644
--- a/drivers/net/wan/sdla_ppp.c
+++ b/drivers/net/wan/sdla_ppp.c
@@ -501,7 +501,7 @@ static int new_if(wan_device_t *wandev, struct net_device *dev, wanif_conf_t *co
/* prepare network device data space for registration */
- dev->name = card->u.p.if_name;
+ strcpy(dev->name, card->u.p.if_name);
dev->init = &if_init;
dev->priv = ppp_priv_area;