mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-09 06:04:05 +08:00
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>
This commit is contained in:
parent
3fb54d7590
commit
6634cff1b5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user