summaryrefslogtreecommitdiff
path: root/components/net/netdev/include/netdev.h
diff options
context:
space:
mode:
authorchenyong <[email protected]>2019-07-02 20:33:10 +0800
committerchenyong <[email protected]>2019-07-03 10:49:19 +0800
commitdcd8b8029b9ac34571e72a0b1c739981b3332fcb (patch)
treed82ace4a0967664702d43ac5011bc11a030346e1 /components/net/netdev/include/netdev.h
parent48857d1e67848fa999ef6454756522fb06f42bcf (diff)
[net][netdev] Delete network commands interrupt disable processing
Signed-off-by: chenyong <[email protected]>
Diffstat (limited to 'components/net/netdev/include/netdev.h')
-rw-r--r--components/net/netdev/include/netdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/netdev/include/netdev.h b/components/net/netdev/include/netdev.h
index 25a8493a8f..1a61cba1c2 100644
--- a/components/net/netdev/include/netdev.h
+++ b/components/net/netdev/include/netdev.h
@@ -132,7 +132,7 @@ struct netdev_ops
int (*set_dns_server)(struct netdev *netdev, uint8_t dns_num, ip_addr_t *dns_server);
int (*set_dhcp)(struct netdev *netdev, rt_bool_t is_enabled);
-#ifdef FINSH_USING_MSH
+#ifdef RT_USING_FINSH
/* set network interface device common network interface device operations */
int (*ping)(struct netdev *netdev, const char *host, size_t data_len, uint32_t timeout, struct netdev_ping_resp *ping_resp);
void (*netstat)(struct netdev *netdev);