net: rmnet_data: alloc_netdev() needs name_assign_type
Update RmNet Data to pass this new parameter in during VND creation. Going with NET_NAME_ENUM as these are reusable names. Signed-off-by: Harout Hedeshian <harouth@codeaurora.org>
This commit is contained in:
parent
e3ad14a08a
commit
037cd9a595
1 changed files with 1 additions and 0 deletions
|
@ -585,6 +585,7 @@ int rmnet_vnd_create_dev(int id, struct net_device **new_device,
|
|||
|
||||
dev = alloc_netdev(sizeof(struct rmnet_vnd_private_s),
|
||||
dev_prefix,
|
||||
NET_NAME_ENUM,
|
||||
rmnet_vnd_setup);
|
||||
if (!dev) {
|
||||
LOGE("Failed to to allocate netdev for id %d", id);
|
||||
|
|
Loading…
Add table
Reference in a new issue