Skip to content

Commit 0528554

Browse files
aescolarjhedberg
authored andcommitted
drivers/ethernet/eth_native_tap: Fix use of deprecated kconfig
In 200b886 a deprecated kconfig option was brought back into the driver. Let's fix it. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent 6dfad60 commit 0528554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ethernet/eth_native_tap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ static void eth_iface_init(struct net_if *iface)
400400
}
401401
#endif
402402

403-
ctx->dev_fd = eth_iface_create(CONFIG_ETH_NATIVE_POSIX_DEV_NAME, ctx->if_name, false);
403+
ctx->dev_fd = eth_iface_create(CONFIG_ETH_NATIVE_TAP_DEV_NAME, ctx->if_name, false);
404404
if (ctx->dev_fd < 0) {
405405
LOG_ERR("Cannot create %s (%d/%s)", ctx->if_name, ctx->dev_fd,
406406
strerror(-ctx->dev_fd));

0 commit comments

Comments
 (0)