diff options
| author | Jiading Xu <[email protected]> | 2024-07-21 20:30:10 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2024-07-24 09:52:23 +0800 |
| commit | 79457efc49dd514c45912f6ebeb1e9b672062ffc (patch) | |
| tree | bcc8986d4c9142fc1df94f893e4a3b18195f2944 /components/net/netdev | |
| parent | 04cad7f9c67d3cd94da798903b9cac133c10fbcc (diff) | |
components: net: lwip: port: add netdev callback on link status change setting
- set netdev callback on link status change in netdev_add()
Signed-off-by: Jiading Xu <[email protected]>
Diffstat (limited to 'components/net/netdev')
| -rw-r--r-- | components/net/netdev/Kconfig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/components/net/netdev/Kconfig b/components/net/netdev/Kconfig index 5f1697d7ba..b45c279513 100644 --- a/components/net/netdev/Kconfig +++ b/components/net/netdev/Kconfig @@ -19,7 +19,11 @@ if RT_USING_NETDEV config NETDEV_USING_AUTO_DEFAULT bool "Enable default netdev automatic change features" default y - + + config NETDEV_USING_LINK_STATUS_CALLBACK + bool "Enable netdev callback on link status change" + default n + config NETDEV_USING_IPV6 bool "Enable IPV6 protocol support" default n |
