diff options
Diffstat (limited to 'drivers/net/hamradio/6pack.c')
-rw-r--r-- | drivers/net/hamradio/6pack.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c index 66e2b19ef709..c3c4051a089d 100644 --- a/drivers/net/hamradio/6pack.c +++ b/drivers/net/hamradio/6pack.c | |||
@@ -596,7 +596,8 @@ static int sixpack_open(struct tty_struct *tty) | |||
596 | if (tty->ops->write == NULL) | 596 | if (tty->ops->write == NULL) |
597 | return -EOPNOTSUPP; | 597 | return -EOPNOTSUPP; |
598 | 598 | ||
599 | dev = alloc_netdev(sizeof(struct sixpack), "sp%d", sp_setup); | 599 | dev = alloc_netdev(sizeof(struct sixpack), "sp%d", NET_NAME_UNKNOWN, |
600 | sp_setup); | ||
600 | if (!dev) { | 601 | if (!dev) { |
601 | err = -ENOMEM; | 602 | err = -ENOMEM; |
602 | goto out; | 603 | goto out; |