diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2016-06-17 10:46:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-18 19:45:55 -0700 |
commit | 6634cff1b545b8a6353e347c7871302353e5b7ca (patch) | |
tree | 1a435ce235aed0d53fe362ece9cc34da9c62e7d0 /drivers/staging | |
parent | 3fb54d7590a4a4d4cf99279c5c228bea788b9628 (diff) |
staging: ks7010: report interface as wlan not eth
Until we switch to cfg80211 (if ever), we must do this manually.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/ks7010/ks7010_sdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c index c3035b80dac7..b7337fd813d5 100644 --- a/drivers/staging/ks7010/ks7010_sdio.c +++ b/drivers/staging/ks7010/ks7010_sdio.c @@ -1033,7 +1033,7 @@ static int ks7010_sdio_probe(struct sdio_func *func, printk(KERN_ERR "ks7010 : Unable to alloc new net device\n"); goto error_release_irq; } - if (dev_alloc_name(netdev, netdev->name) < 0) { + if (dev_alloc_name(netdev, "wlan%d") < 0) { printk(KERN_ERR "ks7010 : Couldn't get name!\n"); goto error_free_netdev; } |